encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions
Functions to encrypt/decrypt any input data with OpenSSL's ciphers
with custom key, iv, and add (-gcm mode only).
_mysql versions are 100% compatitable with corresponding MySQL functions
Supported modes depend on OpenSSL version, but generally are:
aes-{128,192,56}-{ecb,cbc,cfb1,cfb8,cfb128,ofb,gcm}
Please note that in a -gcm mode a 16-byte tag is appended to the ciphertext
on encryption and is expected to be found at the end of ciphertext on decryption.
Added tests that verify compatibility with MySQL functions,
and test vectors for GCM mode from OpenSSL.
Added masking rules for aes_X funtions
Rules are installed by default to config.d/query_masking_rules.xml
2020-06-16 09:22:55 +00:00
|
|
|
0
|
|
|
|
0
|
|
|
|
1
|
2020-10-13 14:49:03 +00:00
|
|
|
MySQL-compatitable mode, with key folding, no length checks, etc.
|
|
|
|
aes-128-cbc 1
|
|
|
|
aes-128-cbc 1
|
|
|
|
aes-128-cbc 1
|
|
|
|
aes-192-cbc 1
|
|
|
|
aes-192-cbc 1
|
|
|
|
aes-192-cbc 1
|
|
|
|
aes-256-cbc 1
|
|
|
|
aes-256-cbc 1
|
|
|
|
aes-256-cbc 1
|
encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions
Functions to encrypt/decrypt any input data with OpenSSL's ciphers
with custom key, iv, and add (-gcm mode only).
_mysql versions are 100% compatitable with corresponding MySQL functions
Supported modes depend on OpenSSL version, but generally are:
aes-{128,192,56}-{ecb,cbc,cfb1,cfb8,cfb128,ofb,gcm}
Please note that in a -gcm mode a 16-byte tag is appended to the ciphertext
on encryption and is expected to be found at the end of ciphertext on decryption.
Added tests that verify compatibility with MySQL functions,
and test vectors for GCM mode from OpenSSL.
Added masking rules for aes_X funtions
Rules are installed by default to config.d/query_masking_rules.xml
2020-06-16 09:22:55 +00:00
|
|
|
aes-128-ecb 1
|
|
|
|
aes-128-ecb 1
|
|
|
|
aes-128-ecb 1
|
|
|
|
aes-192-ecb 1
|
|
|
|
aes-192-ecb 1
|
|
|
|
aes-192-ecb 1
|
|
|
|
aes-256-ecb 1
|
|
|
|
aes-256-ecb 1
|
|
|
|
aes-256-ecb 1
|
2020-10-13 14:49:03 +00:00
|
|
|
aes-128-ofb 1
|
|
|
|
aes-128-ofb 1
|
|
|
|
aes-128-ofb 1
|
|
|
|
aes-192-ofb 1
|
|
|
|
aes-192-ofb 1
|
|
|
|
aes-192-ofb 1
|
|
|
|
aes-256-ofb 1
|
|
|
|
aes-256-ofb 1
|
|
|
|
aes-256-ofb 1
|
|
|
|
Strict mode without key folding and proper key and iv lengths checks.
|
encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions
Functions to encrypt/decrypt any input data with OpenSSL's ciphers
with custom key, iv, and add (-gcm mode only).
_mysql versions are 100% compatitable with corresponding MySQL functions
Supported modes depend on OpenSSL version, but generally are:
aes-{128,192,56}-{ecb,cbc,cfb1,cfb8,cfb128,ofb,gcm}
Please note that in a -gcm mode a 16-byte tag is appended to the ciphertext
on encryption and is expected to be found at the end of ciphertext on decryption.
Added tests that verify compatibility with MySQL functions,
and test vectors for GCM mode from OpenSSL.
Added masking rules for aes_X funtions
Rules are installed by default to config.d/query_masking_rules.xml
2020-06-16 09:22:55 +00:00
|
|
|
aes-128-cbc 1
|
|
|
|
aes-128-cbc 1
|
|
|
|
aes-128-cbc 1
|
|
|
|
aes-192-cbc 1
|
|
|
|
aes-192-cbc 1
|
|
|
|
aes-192-cbc 1
|
|
|
|
aes-256-cbc 1
|
|
|
|
aes-256-cbc 1
|
|
|
|
aes-256-cbc 1
|
2020-10-13 14:49:03 +00:00
|
|
|
aes-128-ctr 1
|
|
|
|
aes-128-ctr 1
|
|
|
|
aes-128-ctr 1
|
|
|
|
aes-192-ctr 1
|
|
|
|
aes-192-ctr 1
|
|
|
|
aes-192-ctr 1
|
|
|
|
aes-256-ctr 1
|
|
|
|
aes-256-ctr 1
|
|
|
|
aes-256-ctr 1
|
|
|
|
aes-128-ecb 1
|
|
|
|
aes-128-ecb 1
|
|
|
|
aes-128-ecb 1
|
|
|
|
aes-192-ecb 1
|
|
|
|
aes-192-ecb 1
|
|
|
|
aes-192-ecb 1
|
|
|
|
aes-256-ecb 1
|
|
|
|
aes-256-ecb 1
|
|
|
|
aes-256-ecb 1
|
encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions
Functions to encrypt/decrypt any input data with OpenSSL's ciphers
with custom key, iv, and add (-gcm mode only).
_mysql versions are 100% compatitable with corresponding MySQL functions
Supported modes depend on OpenSSL version, but generally are:
aes-{128,192,56}-{ecb,cbc,cfb1,cfb8,cfb128,ofb,gcm}
Please note that in a -gcm mode a 16-byte tag is appended to the ciphertext
on encryption and is expected to be found at the end of ciphertext on decryption.
Added tests that verify compatibility with MySQL functions,
and test vectors for GCM mode from OpenSSL.
Added masking rules for aes_X funtions
Rules are installed by default to config.d/query_masking_rules.xml
2020-06-16 09:22:55 +00:00
|
|
|
aes-128-ofb 1
|
|
|
|
aes-128-ofb 1
|
|
|
|
aes-128-ofb 1
|
|
|
|
aes-192-ofb 1
|
|
|
|
aes-192-ofb 1
|
|
|
|
aes-192-ofb 1
|
|
|
|
aes-256-ofb 1
|
|
|
|
aes-256-ofb 1
|
|
|
|
aes-256-ofb 1
|
|
|
|
GCM mode with IV
|
2020-10-13 14:49:03 +00:00
|
|
|
aes-128-gcm 1
|
|
|
|
aes-128-gcm 1
|
|
|
|
aes-128-gcm 1
|
|
|
|
aes-192-gcm 1
|
|
|
|
aes-192-gcm 1
|
|
|
|
aes-192-gcm 1
|
|
|
|
aes-256-gcm 1
|
|
|
|
aes-256-gcm 1
|
|
|
|
aes-256-gcm 1
|
encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions
Functions to encrypt/decrypt any input data with OpenSSL's ciphers
with custom key, iv, and add (-gcm mode only).
_mysql versions are 100% compatitable with corresponding MySQL functions
Supported modes depend on OpenSSL version, but generally are:
aes-{128,192,56}-{ecb,cbc,cfb1,cfb8,cfb128,ofb,gcm}
Please note that in a -gcm mode a 16-byte tag is appended to the ciphertext
on encryption and is expected to be found at the end of ciphertext on decryption.
Added tests that verify compatibility with MySQL functions,
and test vectors for GCM mode from OpenSSL.
Added masking rules for aes_X funtions
Rules are installed by default to config.d/query_masking_rules.xml
2020-06-16 09:22:55 +00:00
|
|
|
GCM mode with IV and AAD
|
2020-10-13 14:49:03 +00:00
|
|
|
aes-128-gcm 1
|
|
|
|
aes-128-gcm 1
|
|
|
|
aes-128-gcm 1
|
|
|
|
aes-192-gcm 1
|
|
|
|
aes-192-gcm 1
|
|
|
|
aes-192-gcm 1
|
|
|
|
aes-256-gcm 1
|
|
|
|
aes-256-gcm 1
|
|
|
|
aes-256-gcm 1
|
encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions
Functions to encrypt/decrypt any input data with OpenSSL's ciphers
with custom key, iv, and add (-gcm mode only).
_mysql versions are 100% compatitable with corresponding MySQL functions
Supported modes depend on OpenSSL version, but generally are:
aes-{128,192,56}-{ecb,cbc,cfb1,cfb8,cfb128,ofb,gcm}
Please note that in a -gcm mode a 16-byte tag is appended to the ciphertext
on encryption and is expected to be found at the end of ciphertext on decryption.
Added tests that verify compatibility with MySQL functions,
and test vectors for GCM mode from OpenSSL.
Added masking rules for aes_X funtions
Rules are installed by default to config.d/query_masking_rules.xml
2020-06-16 09:22:55 +00:00
|
|
|
F56E87055BC32D0EEB31B2EACC2BF2A5 1
|
2022-09-12 10:45:43 +00:00
|
|
|
2022-09-02 00:00:00 2
|
2022-09-12 13:39:07 +00:00
|
|
|
2022-08-02 00:00:00 1 \N
|
|
|
|
2022-09-02 00:00:00 2 value2
|
|
|
|
2022-09-02 00:00:01 3 \N
|