Encrypts data with the specified key and returns text in Base64 format.
CryptEncryptBase64 ( data ; key )
data - any text expression or field to encrypt.
key - any text expression or field as the key to encrypt
Data type returned
Originated in version
Use the CryptEncryptBase64 and CryptDecryptBase64 functions to encrypt and decrypt field data.
This function works the same as the CryptEncrypt function, except that it returns encrypted data as Base64-encoded text following the RFC 4648 standard.
- Encoding binary data as Base64-encoded text increases its size by one third.
Returns encrypted data as text that can begin with YdJuEZueje5ybjg903wuVFYAOLy.
CryptEncryptBase64 ( "This needs protection" ; "My secret password" )