Functions and operators
Cryptographic functions
Raw encryption functions are basic encryption functions that perform encryption and decryption of data using cryptographic algorithms.
Raw encryption functions
Please note they solely apply a cipher to the data and do not provide additional security measures.
The cipher method is specified by type
. The syntax of the type
string is:
algorithm
is:
- aes — AES (Rijndael-128, -192 or -256)
mode
is one of:
- cbc — next block depends on previous (default)
- ecb — each block is encrypted separately (for testing only)
padding
is one of:
- pkcs — data may be any length (default)
- none — data must be multiple of cipher block size
The given encryption/decryption key MUST match length 16/24/32 bytes as required by aes-128/192/256.
Examples of type text
Example of raw encryption functions
Example of raw encryption functions
Was this page helpful?