Westwind Utilities
Encryption.EncryptBytes
Table of Contents
On this page:

Encryption.EncryptBytes

Encrypts a string into bytes using DES encryption with a Passkey.

public static byte[] EncryptBytes(byte[] inputBytes, string encryptionKey)

Parameters

inputBytes

encryptionKey

Overloads

public static byte[] EncryptBytes(byte[] inputBytes, SecureString encryptionKey)
public static byte[] EncryptBytes(byte[] inputBytes, byte[] encryptionKey, CipherMode cipherMode)
public static byte[] EncryptBytes(string inputString, string encryptionKey)

© West Wind Technologies, 2026 • updated: Jan 02, 2026
Comment or report problem with topic