Decrypts container data with the specified key and returns text or container data.
CryptDecrypt ( container ; key )
container - container data returned by the CryptEncrypt function.
key - any text expression or field that contains the same key that was used to encrypt
Data type returned
Originated in version
This function accepts container data created by the CryptEncrypt function and the same key that was used to encrypt the data. The decrypted data is returned as the same type (text or container data) it was before encryption.
Returns This needs protection, the text that was encrypted using CryptEncrypt with the same key.
CryptEncrypt ( "This needs protection" ; "My secret password" ) ;
"My secret password"