Crypto.AESEncrypt

From Xojo Documentation

Method

Crypto.AESEncrypt(key As String, data As MemoryBlock, blockMode As BlockModes = BlockModes.CBC, initializationVector As MemoryBlock) As MemoryBlock

New in 2021r3

Supported for all project types and targets.

Encrypts the data using the specified key.

Notes

An initialization vector (IV) is a block of bits that is used by several modes to randomize the encryption and hence to produce distinct ciphertexts even if the same plaintext is encrypted multiple times, without the need for a slower re-keying process.