Encrypts data with with AES engine in CBC mode.
|key||The key you want to use.||"Hello"|
|text||The text to encrypt.||"Hello World"|
The initial vector as a text with up to 16 bytes length.
Returns encrypted text encoded as hex.
DescriptionEncrypts data with with AES engine in CBC mode.
This function uses UTF-8 for key, text and iv parameters.
Keys shorter than 128 bit, 192 bit or 256 bit length are padded with null bytes to right size. This means that only the first 32 characters are used at most.
Deprecated. Please move to Encryption.Cipher for new projects.
Simply encrypt a text:
Feedback: Report problem or ask question.