937 string DSS(data data);
960 string DSS1(data data);
1027 string MD2(data data);
1073 string MD4(data data);
1119 string MD5(data data);
1165 string MDC2(data data);
1255 string SHA(data data);
1278 string SHA1(data data);
1326 string SHA224(data data);
1378 string SHA256(data data);
1430 string SHA384(data data);
1482 string SHA512(data data);
1598 string DSS_hmac(data data, data key);
1621 string MD2_hmac(data data, data key);
1639 string MD4_hmac(data data, data key);
1659 string MD5_hmac(data data, data key);
1819 string SHA_hmac(data data, data key);
string DSS1(data data)
Returns the DSS1 message digest (based on SHA1 and DSA) of the supplied argument as a hex string...
binary SHA384_bin(data data)
Returns the SHA-384 message digest (a variant of SHA-2) of the supplied argument as a binary value...
string desx_decrypt_cbc_to_string(binary data, data key, data iv=Qore::DefaultIV, *string encoding)
Decrypts data using the Cipher Block Chaining function for RSA's DESX algorithm using a 24-byte key a...
const DefaultIV
The default initialization vector is simply a 8-byte string of nulls.
Definition: ql_crypto.dox.h:2291
const CRYPTO_DIGEST_MD5
specifies the MD5 message digest
Definition: ql_crypto.dox.h:2335
const CRYPTO_DIGEST_DSS
specifies the DSS message digest (based on SHA-0 and DSA)
Definition: ql_crypto.dox.h:2319
string decrypt_to_string(string alg, data data, data key, data iv=Qore::DefaultIV, *data mac, *data aad, *string encoding)
Returns a string of decrypted data corresponding to the input arguments inluding the given algorithm...
binary SHA256_bin(data data)
Returns the SHA-256 message digest (a variant of SHA-2) of the supplied argument as a binary value...
string SHA(data data)
Returns the SHA (outdated SHA-0) message digest of the supplied argument as a hex string...
string SHA512(data data)
Returns the SHA-512 message digest (a variant of SHA-2) of the supplied argument as a hex string...
binary RIPEMD160_binary(data data)
Returns the RIPEMD message digest of the supplied argument as a binary value.
string MD5_hmac(data data, data key)
Returns the MD5 based HMAC of the supplied argument as a hex string.
string SHA256(data data)
Returns the SHA-256 message digest (a variant of SHA-2) of the supplied argument as a hex string...
string SHA_hmac(data data, data key)
Returns the SHA based HMAC of the supplied argument as a hex string.
const CRYPTO_DIGEST_SHA384
specifies the SHA-384 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2363
list< string > get_digests()
Returns a list of supported digest algorithms for hmac()
string MD4(data data)
Returns the MD4 message digest of the supplied argument as a hex string.
binary des_ede_decrypt_cbc(binary data, data key, data iv=Qore::DefaultIV)
Decrypts data using the Cipher Block Chaining function for the two-key triple DES algorithm using two...
binary des_random_key()
Returns a binary value of a random key for the DES algorithm
const CRYPTO_DIGEST_SHA1
specifies the SHA1 message digest
Definition: ql_crypto.dox.h:2351
string blowfish_decrypt_cbc_to_string(binary data, data key, data iv=Qore::DefaultIV, *string encoding)
Decrypts data using the Cipher Block Chaining function for the blowfish algorithm and returns a strin...
binary hmac(string digest, data data, data key)
Returns the digest-based HMAC of the supplied arguments as a binary value.
string DSS(data data)
Returns the DSS message digest (based on SHA-0 and DSA) of the supplied argument as a hex string...
string cast5_decrypt_cbc_to_string(binary data, data key, data iv=Qore::DefaultIV, *string encoding)
Decrypts data using the Cipher Block Chaining function for the CAST5 algorithm using a variable-lengt...
binary rc5_decrypt_cbc(binary data, data key, data iv=Qore::DefaultIV)
Decrypts data using the Cipher Block Chaining function for RSA's RC5(tm) algorithm using a variable-l...
string rc4_decrypt_to_string(binary data, data key, data iv=Qore::DefaultIV, *string encoding)
Decrypts data using the Alleged RC4 cipher algorithm, which should be compatible with RSA's RC4(tm) a...
binary rc2_decrypt_cbc(binary data, data key, data iv=Qore::DefaultIV)
Decrypts data using the Cipher Block Chaining function for RSA's RC2(tm) algorithm using a variable-l...
const CRYPTO_DIGEST_SHA256
specifies the SHA-256 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2359
binary rc4_decrypt(binary data, data key, data iv=Qore::DefaultIV)
Decrypts data using the Alleged RC4 cipher algorithm, which should be compatible with RSA's RC4(tm) a...
binary binary()
Always returns an empty binary object (of zero length)
binary rc5_encrypt_cbc(data data, data key, data iv=Qore::DefaultIV)
Encrypts data using the Cipher Block Chaining function for RSA's RC5(tm) algorithm using a variable-l...
binary MD5_bin(data data)
Returns the MD5 message digest of the supplied argument as a binary value.
string MDC2_hmac(data data, data key)
Returns the MDC2 based HMAC of the supplied argument as a hex string.
Transform get_decryptor(string alg, data key, data iv=Qore::DefaultIV, *data mac, *data aad)
Returns a Transform object for decrypting data using the given algorithm for use with TransformInputS...
binary blowfish_encrypt_cbc(data data, data key, data iv=Qore::DefaultIV)
Encrypts data using the Cipher Block Chaining function for the blowfish algorithm ...
binary des_ede3_decrypt_cbc(data data, data key, data iv=Qore::DefaultIV)
Decrypts data using the Cipher Block Chaining function for the three-key triple DES algorithm using t...
string SHA1_hmac(data data, data key)
Returns the SHA1 based HMAC of the supplied argument as a hex string.
const CRYPTO_DIGEST_MD2
specifies the MD2 message digest
Definition: ql_crypto.dox.h:2327
const DigestMap
A hash keyed by supported digest name where each value is True.
Definition: ql_crypto.dox.h:2371
string DSS_hmac(data data, data key)
Returns the DSS (SHA-0 and DSA) based HMAC of the supplied argument as a hex string.
string RIPEMD160(data data)
Returns the RIPEMD message digest of the supplied argument as a hex string.
string RIPEMD160_hmac(data data, data key)
Returns the RIPEMD based HMAC of the supplied argument as a hex string.
string MD5(data data)
Returns the MD5 message digest of the supplied argument as a hex string.
const CRYPTO_DIGEST_MDC2
specifies the MDC2 message digest
Definition: ql_crypto.dox.h:2339
binary SHA512_bin(data data)
Returns the SHA-512 message digest (a variant of SHA-2) of the supplied argument as a binary value...
binary desx_encrypt_cbc(data data, data key, data iv=Qore::DefaultIV)
Encrypts data using the Cipher Block Chaining function for RSA's DESX algorithm using a 24-byte key a...
binary SHA_bin(data data)
Returns the SHA (outdated SHA-0) message digest of the supplied argument as a binary value...
binary MDC2_bin(data data)
Returns the MDC2 message digest of the supplied argument as a binary value.
const CRYPTO_DIGEST_SHA224
specifies the SHA-224 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2355
string SHA224_hmac(data data, data key)
Returns the SHA224 based HMAC of the supplied argument as a hex string.
string SHA256_hmac(data data, data key)
Returns the SHA256 based HMAC of the supplied argument as a hex string.
binary des_ede_encrypt_cbc(data data, data key, data iv=Qore::DefaultIV)
Encrypts data using the Cipher Block Chaining function for the two-key triple DES algorithm using two...
binary DSS1_bin(data data)
Returns the DSS1 message digest (based on SHA-0 and DSA) of the supplied argument as a binary value...
Transform get_encryptor(string alg, data key, data iv=Qore::DefaultIV, *reference< binary > mac, *int mac_size, *data aad)
Returns a Transform object for encrypting data using the given algorithm for use with TransformInputS...
binary MD2_bin(data data)
Returns the MD2 message digest of the supplied argument as binary value.
const CRYPTO_DIGEST_MD4
specifies the MD4 message digest
Definition: ql_crypto.dox.h:2331
string SHA384(data data)
Returns the SHA-384 message digest (a variant of SHA-2) of the supplied argument as a hex string...
binary DSS_bin(data data)
Returns the DSS message digest (based on SHA-0 and DSA) of the supplied argument as a binary value...
binary cast5_encrypt_cbc(data data, data key, data iv=Qore::DefaultIV)
Encrypts data using the Cipher Block Chaining function for the CAST5 algorithm using a variable-lengt...
binary rc2_encrypt_cbc(data data, data key, data iv=Qore::DefaultIV)
Encrypts data using the Cipher Block Chaining function for RSA's RC2(tm) algorithm using a variable-l...
string rc5_decrypt_cbc_to_string(binary data, data key, data iv=Qore::DefaultIV, *string encoding)
Decrypts data using the Cipher Block Chaining function for RSA's RC5(tm) algorithm using a variable-l...
binary encrypt(string alg, data data, data key, data iv=Qore::DefaultIV, *reference< binary > mac, *int mac_size, *data aad)
Returns a binary value of encrypted data corresponding to the input arguments inluding the given algo...
binary blowfish_decrypt_cbc(binary data, data key, data iv=Qore::DefaultIV)
Decrypts data using the Cipher Block Chaining function for the blowfish algorithm and returns a binar...
binary rc4_encrypt(data data, data key, data iv=Qore::DefaultIV)
Encrypts data using the Alleged RC4 cipher algorithm, which should be compatible with RSA's RC4(tm) a...
string des_ede_decrypt_cbc_to_string(binary data, data key, data iv=Qore::DefaultIV, *string encoding)
Decrypts data using the Cipher Block Chaining function for the two-key triple DES algorithm using two...
string SHA512_hmac(data data, data key)
Returns the SHA512 based HMAC of the supplied argument as a hex string.
string MD2(data data)
Returns the MD2 message digest of the supplied argument as a hex string.
string rc2_decrypt_cbc_to_string(binary data, data key, data iv=Qore::DefaultIV, *string encoding)
Decrypts data using the Cipher Block Chaining function for RSA's RC2(tm) algorithm using a variable-l...
binary get_random_bytes(int size)
returns a binary value of random bytes using openssl
string SHA1(data data)
Returns the SHA1 message digest of the supplied argument as a hex string.
hash< auto > hash(object obj)
Returns a hash of an object's members.
binary MD4_bin(data data)
Returns the MD4 message digest of the supplied argument as a binary value.
string MD4_hmac(data data, data key)
Returns the MD4 based HMAC of the supplied argument as a hex string.
binary SHA1_bin(data data)
Returns the SHA1 message digest of the supplied argument as a binary value.
const CRYPTO_DIGEST_RIPEMD160
specifies the RIPEMD message digest
Definition: ql_crypto.dox.h:2343
const CRYPTO_DIGEST_SHA
specifies the insecure and outdated SHA-0 message digest; only supplied for compatibility purposes ...
Definition: ql_crypto.dox.h:2347
hash get_crypto_info()
Returns a hash of information about each cryptographic algorithmn supported by the current build of Q...
string MDC2(data data)
Returns the MDC2 message digest of the supplied argument as a hex string.
string SHA224(data data)
Returns the SHA-224 message digest (a variant of SHA-2) of the supplied argument as a hex string...
string des_ede3_decrypt_cbc_to_string(binary data, data key, data iv=Qore::DefaultIV, *string encoding)
Decrypts data using the Cipher Block Chaining function for the three-key triple DES algorithm using t...
binary desx_decrypt_cbc(binary data, data key, data iv=Qore::DefaultIV)
Decrypts data using the Cipher Block Chaining function for RSA's DESX algorithm using a 24-byte key a...
binary SHA224_bin(data data)
Returns the SHA-224 message digest (a variant of SHA-2) of the supplied argument as a binary value...
binary cast5_decrypt_cbc(binary data, data key, data iv=Qore::DefaultIV)
Decrypts data using the Cipher Block Chaining function for the CAST5 algorithm using a variable-lengt...
binary decrypt_to_binary(string alg, data data, data key, data iv=Qore::DefaultIV, *data mac, *data aad)
Returns a binary value of decrypted data corresponding to the input arguments inluding the given algo...
binary digest(string digest, data data)
Returns the digest of the supplied arguments as a binary value.
binary des_decrypt_cbc(binary data, data key, data iv=Qore::DefaultIV)
Decrypts data using the Cipher Block Chaining function for the DES algorithm using an 8-byte key...
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
binary des_ede3_encrypt_cbc(data data, data key, data iv=Qore::DefaultIV)
Encrypts data using the Cipher Block Chaining function for the three-key triple DES algorithm using t...
string SHA384_hmac(data data, data key)
Returns the SHA384 based HMAC of the supplied argument as a hex string.
const CRYPTO_DIGEST_DSS1
specifies the DSS1 message digest (based on SHA1 and DSA)
Definition: ql_crypto.dox.h:2323
const CRYPTO_DIGEST_SHA512
specifies the SHA-512 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2367
binary des_encrypt_cbc(data data, data key, data iv=Qore::DefaultIV)
Encrypts data using the Cipher Block Chaining function for the DES algorithm using an 8-byte key...
string des_decrypt_cbc_to_string(binary data, data key, data iv=Qore::DefaultIV, *string encoding)
Decrypts data using the Cipher Block Chaining function for the DES algorithm using an 8-byte key...
string DSS1_hmac(data data, data key)
Returns the DSS1 (SHA-1 and DSA) based HMAC of the supplied argument as a hex string.
string MD2_hmac(data data, data key)
Returns the MD2 based HMAC of the supplied argument as a hex string.