const DefaultIV
The default initialization vector is simply a 8-byte string of nulls.
Definition: ql_crypto.dox.h:2370
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...
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...
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...
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 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_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...
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...
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 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 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 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 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.
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...
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 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 blowfish_encrypt_cbc(data data, data key, data iv=Qore::DefaultIV)
Encrypts data using the Cipher Block Chaining function for the blowfish algorithm
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 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 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...
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...
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...
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.
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 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 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 des_random_key()
Returns a binary value of a random key for the DES algorithm
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...
const CRYPTO_DIGEST_SHA384
specifies the SHA-384 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2442
const DigestMap
A hash keyed by supported digest name where each value is True.
Definition: ql_crypto.dox.h:2461
const CRYPTO_DIGEST_SHA224
specifies the SHA-224 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2434
const CRYPTO_DIGEST_SHA1
specifies the SHA1 message digest
Definition: ql_crypto.dox.h:2430
const CRYPTO_DIGEST_MD2
specifies the MD2 message digest
Definition: ql_crypto.dox.h:2406
const CRYPTO_DIGEST_SHA512
specifies the SHA-512 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2446
const CRYPTO_DIGEST_DSS
specifies the DSS message digest (based on SHA-0 and DSA)
Definition: ql_crypto.dox.h:2398
const CipherMap
A hash keyed by supported cipher name where each value is an informational hash.
Definition: ql_crypto.dox.h:2454
const CRYPTO_DIGEST_MDC2
specifies the MDC2 message digest
Definition: ql_crypto.dox.h:2418
const CRYPTO_DIGEST_RIPEMD160
specifies the RIPEMD message digest
Definition: ql_crypto.dox.h:2422
const CRYPTO_DIGEST_SHA256
specifies the SHA-256 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2438
const CRYPTO_DIGEST_MD4
specifies the MD4 message digest
Definition: ql_crypto.dox.h:2410
const CRYPTO_DIGEST_DSS1
specifies the DSS1 message digest (based on SHA1 and DSA)
Definition: ql_crypto.dox.h:2402
const CRYPTO_DIGEST_SHA
specifies the insecure and outdated SHA-0 message digest; only supplied for compatibility purposes
Definition: ql_crypto.dox.h:2426
const CRYPTO_DIGEST_MD5
specifies the MD5 message digest
Definition: ql_crypto.dox.h:2414
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 DSS_bin(data data)
Returns the DSS message digest (based on SHA-0 and DSA) of the supplied argument as a binary value.
string SHA256(data data)
Returns the SHA-256 message digest (a variant of SHA-2) 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 RIPEMD160(data data)
Returns the RIPEMD message digest of the supplied argument as a hex string.
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 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 MD4(data data)
Returns the MD4 message digest 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.
binary SHA1_bin(data data)
Returns the SHA1 message digest of the supplied argument as a binary value.
string SHA512(data data)
Returns the SHA-512 message digest (a variant of SHA-2) 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.
binary MDC2_bin(data data)
Returns the MDC2 message digest of the supplied argument as a binary value.
binary MD2_bin(data data)
Returns the MD2 message digest of the supplied argument as binary value.
string SHA1(data data)
Returns the SHA1 message digest of the supplied argument as a hex string.
string MDC2(data data)
Returns the MDC2 message digest 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 DSS(data data)
Returns the DSS message digest (based on SHA-0 and DSA) of the supplied argument as a hex string.
binary MD4_bin(data data)
Returns the MD4 message digest of the supplied argument as a binary value.
binary SHA_bin(data data)
Returns the SHA (outdated SHA-0) message digest of the supplied argument as a binary value.
string SHA384(data data)
Returns the SHA-384 message digest (a variant of SHA-2) of the supplied argument as a hex string.
binary DSS1_bin(data data)
Returns the DSS1 message digest (based on SHA-0 and DSA) of the supplied argument as a binary value.
binary SHA224_bin(data data)
Returns the SHA-224 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.
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.
bool has_digest(string digest)
Returns True if the given digest is supported, False if not.
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 SHA512_hmac(data data, data key)
Returns the SHA512 based HMAC of the supplied argument as a hex string.
*hash< auto > get_cipher_info(string cipher)
Returns information about the given cipher or NOTHING if the cipher is unknown.
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 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...
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...
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.
list< string > get_digests()
Returns a list of supported digest algorithms for hmac()
string MD4_hmac(data data, data key)
Returns the MD4 based HMAC of the supplied argument as a hex string.
binary get_random_bytes(int size)
returns a binary value of random bytes using openssl
string SHA384_hmac(data data, data key)
Returns the SHA384 based HMAC of the supplied argument as a hex string.
string MD5_hmac(data data, data key)
Returns the MD5 based HMAC 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.
hash< auto > get_crypto_info()
Returns a hash of information about each cryptographic algorithmn supported by the current build of Q...
string DSS_hmac(data data, data key)
Returns the DSS (SHA-0 and DSA) based HMAC of the supplied argument as a hex string.
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...
string RIPEMD160_hmac(data data, data key)
Returns the RIPEMD 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.
binary digest(string digest, data data)
Returns the digest of the supplied arguments as a binary value.
string SHA1_hmac(data data, data key)
Returns the SHA1 based HMAC of the supplied argument as a hex string.
string SHA224_hmac(data data, data key)
Returns the SHA224 based HMAC of the supplied argument as a hex string.
binary hmac(string digest, data data, data key)
Returns the digest-based HMAC of the supplied arguments as a binary value.
string SHA256_hmac(data data, data key)
Returns the SHA256 based HMAC of the supplied argument as a hex string.
binary binary()
Always returns an empty binary object (of zero length)
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3