CRYPTO

Name

CRYPTO --  Functions for cryptography based on OpenSSL technology.

Function

aAlgoritmes         EVP_ALG_LIST()
cDecrypted          EVP_DECRYPT(<cData>, <cKey> , [<cCipherMethod> , [<cDigestMethod>] , [<cInitVector>])
cEncrypted          EVP_ENCRYPT(<cData>, <cKey> , [<cCipherMethod> , [<cDigestMethod>] , [<cInitVector>])

Description

Category Crypto include description of functions for cryptography based on OpenSSL technology.

For using need linking clip-crypto library:

clip -e test.prg -lclip-crypto

Function EVP_ALG_LIST()

 EVP_ALG_LIST() --> aAlgoritmes
 

Returns list of algoritms, registered in used version of OpenSSL library.

Function EVP_DECRYPT()

 EVP_DECRYPT(<cData>, <cKey> , [<cCipherMethod> , [<cDigestMethod>] , [<cInitVector>]) --> cDecrypted

Decrypt string, encrypted by EVP_ENCRYPT(), using one of symmetric block algoritm and given key string.

Function EVP_ENCRYPT()

 EVP_ENCRYPT(<cData>, <cKey> , [<cCipherMethod> , [<cDigestMethod>] , [<cInitVector>]) --> cEncrypted

Encrypt string using one of symmetric block algoritm and given key string.