Diff<>(old, new, comparer, predicate, postProcessor) NewArray<>(size1, size2, size3, initialiser) RunMain(main, onUnhandledMain, onUnhandledThread) RunMain(main, onUnhandledMain, onUnhandledThread)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Static method: byte[] AesEncrypt(byte[], byte[])Declarationpublic static byte[] AesEncrypt(
byte[] plain,
byte[] key
) Summary
Encrypts bytes using AES in CBC mode. Parametersbyte[] | plain |
Plaintext to encrypt. | byte[] | key |
An AES key to use for encryption. Must be exactly 32 bytes long. |
Returns
The encrypted data. |