Encryption.EncryptBytes

Encrypts a byte buffer with a byte encryption key.

public static Byte[] EncryptBytes(Byte[] inputBytes,
	Byte[] encryptionKey,
	CipherMode cipherMode)

Parameters

inputBytes
Bytes to convert

encryptionKey
The key bytes used to encode the data. Use a 24 byte key for best compatibility

cipherMode
Optional CipherMode used. Defaults to older ECB for backwards compatibility

Overloads:


See also:

Class Encryption

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic