ql_crypto.dox.h
namespace Qore {
binary blowfish_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
string blowfish_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
binary blowfish_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
binary cast5_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
string cast5_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
binary cast5_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
binary des_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
string des_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
binary des_ede3_decrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
string des_ede3_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
binary des_ede3_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
binary des_ede_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
string des_ede_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
binary des_ede_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
binary des_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
binary des_random_key();
binary desx_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
string desx_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
binary desx_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
binary rc2_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
string rc2_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
binary rc2_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
binary rc4_decrypt(binary data, data key, data iv = Qore::DefaultIV);
string rc4_decrypt_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
binary rc4_encrypt(data data, data key, data iv = Qore::DefaultIV);
binary rc5_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
string rc5_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
binary rc5_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
}
namespace Qore {
string DSS(data data);
string DSS1(data data);
binary DSS1_bin(data data);
binary DSS_bin(data data);
string MD2(data data);
binary MD2_bin(data data);
string MD4(data data);
binary MD4_bin(data data);
string MD5(data data);
binary MD5_bin(data data);
string MDC2(data data);
binary MDC2_bin(data data);
string RIPEMD160(data data);
binary RIPEMD160_binary(data data);
string SHA(data data);
string SHA1(data data);
binary SHA1_bin(data data);
string SHA224(data data);
binary SHA224_bin(data data);
string SHA256(data data);
binary SHA256_bin(data data);
string SHA384(data data);
binary SHA384_bin(data data);
string SHA512(data data);
binary SHA512_bin(data data);
binary SHA_bin(data data);
}
namespace Qore {
string DSS1_hmac(data data, data key);
string DSS_hmac(data data, data key);
string MD2_hmac(data data, data key);
string MD4_hmac(data data, data key);
string MD5_hmac(data data, data key);
string MDC2_hmac(data data, data key);
string RIPEMD160_hmac(data data, data key);
string SHA1_hmac(data data, data key);
string SHA224_hmac(data data, data key);
string SHA256_hmac(data data, data key);
string SHA384_hmac(data data, data key);
string SHA512_hmac(data data, data key);
string SHA_hmac(data data, data key);
binary decrypt_to_binary(string alg, data data, data key, data iv = Qore::DefaultIV, *data mac, *data aad);
string decrypt_to_string(string alg, data data, data key, data iv = Qore::DefaultIV, *data mac, *data aad, *string encoding);
binary digest(string digest, data data);
binary encrypt(string alg, data data, data key, data iv = Qore::DefaultIV, *reference<binary> mac, *int mac_size, *data aad);
hash get_crypto_info();
Transform get_decryptor(string alg, data key, data iv = Qore::DefaultIV, *data mac, *data aad);
list<string> get_digests();
Transform get_encryptor(string alg, data key, data iv = Qore::DefaultIV, *reference<binary> mac, *int mac_size, *data aad);
binary get_random_bytes(int size);
binary hmac(string digest, data data, data key);
}
namespace Qore {
const CRYPTO_ALG_AES_128 = "aes128";
const CRYPTO_ALG_AES_192 = "aes192";
const CRYPTO_ALG_AES_256 = "aes256";
const CRYPTO_ALG_BLOWFISH = "blowfish";
const CRYPTO_ALG_BLOWFISH_CFB = "blowfish-cfb";
const CRYPTO_ALG_BLOWFISH_OFB = "blowfish-ofb";
const CRYPTO_ALG_CAST5 = "cast5";
const CRYPTO_ALG_CAST5_CFB = "cast5-cfb";
const CRYPTO_ALG_CAST5_OFB = "cast5-ofb";
const CRYPTO_ALG_DES = "des";
const CRYPTO_ALG_DESX = "desx";
const CRYPTO_ALG_DES_CFB = "des-cfb";
const CRYPTO_ALG_DES_EDE = "desede";
const CRYPTO_ALG_DES_EDE3 = "desede3";
const CRYPTO_ALG_DES_EDE3_CFB = "desede3-cfb";
const CRYPTO_ALG_DES_EDE3_OFB = "desede3-ofb";
const CRYPTO_ALG_DES_EDE_CFB = "desede-cfb";
const CRYPTO_ALG_DES_EDE_OFB = "desede-ofb";
const CRYPTO_ALG_DES_OFB = "des-ofb";
const CRYPTO_ALG_RC2 = "rc2";
const CRYPTO_ALG_RC2_CFB = "rc2-cfb";
const CRYPTO_ALG_RC2_OFB = "rc2-ofb";
const CRYPTO_ALG_RC4 = "rc4";
const CRYPTO_ALG_RC5 = "rc5";
const CRYPTO_ALG_RC5_CFB = "rc5-cfb";
const CRYPTO_ALG_RC5_OFB = "rc5-ofb";
}
namespace Qore {
const DefaultIV = <0000000000000000>;
}
namespace Qore {
const CRYPTO_DIGEST_DSS = "dss";
const CRYPTO_DIGEST_DSS1 = "dss1";
const CRYPTO_DIGEST_MD2 = "md2";
const CRYPTO_DIGEST_MD4 = "md4";
const CRYPTO_DIGEST_MD5 = "md5";
const CRYPTO_DIGEST_MDC2 = "mdc2";
const CRYPTO_DIGEST_RIPEMD160 = "ripemd160";
const CRYPTO_DIGEST_SHA = "sha";
const CRYPTO_DIGEST_SHA1 = "sha1";
const CRYPTO_DIGEST_SHA224 = "sha224";
const CRYPTO_DIGEST_SHA256 = "sha256";
const CRYPTO_DIGEST_SHA384 = "sha384";
const CRYPTO_DIGEST_SHA512 = "sha512";
const DigestMap = qore(init_digest_map_hash());
}
Qore::Transform
Marker interface for transformations usable in TransformOutputStream and TransformInputStream.
Definition: QC_Transform.dox.h:12
Qore::CRYPTO_ALG_AES_192
const CRYPTO_ALG_AES_192
Identifies the AES cryptographic algorithm in Galois Counter Mode (GCM) with a 192-bit (24 byte) key.
Definition: ql_crypto.dox.h:2136
Qore::CRYPTO_ALG_DES_EDE3
const CRYPTO_ALG_DES_EDE3
Identifies the three-key triple DES algorithm in Cipher Block Chaining (CBC) mode with a 192-bit (24 ...
Definition: ql_crypto.dox.h:2199
Qore::CRYPTO_ALG_RC2_OFB
const CRYPTO_ALG_RC2_OFB
Identifies RSA's RC2(tm) cryptographic algorithm in Output Feedback (OFB) mode with a variable-length...
Definition: ql_crypto.dox.h:2244
Qore::CRYPTO_ALG_BLOWFISH_OFB
const CRYPTO_ALG_BLOWFISH_OFB
Identifies the blowfish cryptographic algorithm in Output Feedback (OFB) mode with a variable-length ...
Definition: ql_crypto.dox.h:2157
Qore::CRYPTO_ALG_BLOWFISH_CFB
const CRYPTO_ALG_BLOWFISH_CFB
Identifies the blowfish cryptographic algorithm in Cipher Feedback (CFB) mode with a variable-length ...
Definition: ql_crypto.dox.h:2153
Qore::CRYPTO_ALG_DES_CFB
const CRYPTO_ALG_DES_CFB
Identifies the DES cryptographic algorithm in Cipher Feedback (CFB) mode with a 64-bit (8 byte) key.
Definition: ql_crypto.dox.h:2187
Qore::CRYPTO_ALG_DES_EDE_CFB
const CRYPTO_ALG_DES_EDE_CFB
Identifies the two-key triple DES algorithm in Cipher Feedback (CFB) mode with a 128-bit (16 byte) ke...
Definition: ql_crypto.dox.h:2217
Qore::CRYPTO_ALG_BLOWFISH
const CRYPTO_ALG_BLOWFISH
Identifies the blowfish cryptographic algorithm in Cipher Block Chaining (CBC) mode with a variable-l...
Definition: ql_crypto.dox.h:2149
Qore::CRYPTO_ALG_AES_256
const CRYPTO_ALG_AES_256
Identifies the AES cryptographic algorithm in Galois Counter Mode (GCM) with a 256-bit (32 byte) key.
Definition: ql_crypto.dox.h:2145
Qore::CRYPTO_ALG_RC2
const CRYPTO_ALG_RC2
Identifies RSA's RC2(tm) cryptographic algorithm in Cipher Block Chaining (CBC) mode with a variable-...
Definition: ql_crypto.dox.h:2234
Qore::CRYPTO_ALG_CAST5_CFB
const CRYPTO_ALG_CAST5_CFB
Identifies the CAST5 cryptographic algorithm in Cipher Feedback (CFB) mode with a variable-length key...
Definition: ql_crypto.dox.h:2165
Qore::CRYPTO_ALG_DES_EDE_OFB
const CRYPTO_ALG_DES_EDE_OFB
Identifies the two-key triple DES algorithm in Output Feedback (OFB) mode with a 128-bit (16 byte) ke...
Definition: ql_crypto.dox.h:2223
Qore::CRYPTO_ALG_AES_128
const CRYPTO_ALG_AES_128
Identifies the AES cryptographic algorithm in Galois Counter Mode (GCM) with a 128-bit (16 byte) key.
Definition: ql_crypto.dox.h:2127
Qore::CRYPTO_ALG_RC2_CFB
const CRYPTO_ALG_RC2_CFB
Identifies RSA's RC2(tm) cryptographic algorithm in Cipher Feedback (CFB) mode with a variable-length...
Definition: ql_crypto.dox.h:2239
Qore::CRYPTO_ALG_DESX
const CRYPTO_ALG_DESX
Identifies RSA's DESX cryptographic algorithm in Cipher Block Chaining (CBC) mode with a 192-bit (24 ...
Definition: ql_crypto.dox.h:2181
Qore::CRYPTO_ALG_RC4
const CRYPTO_ALG_RC4
Identifies the Alleged RC4 cryptographic algorithm, which should be compatible with RSA's RC4(TM) alg...
Definition: ql_crypto.dox.h:2250
Qore::CRYPTO_ALG_RC5_CFB
const CRYPTO_ALG_RC5_CFB
Identifies the RC5 cryptographic algorithm in Cipher Feedback (CFB) mode with a variable-length key.
Definition: ql_crypto.dox.h:2268
Qore::CRYPTO_ALG_DES
const CRYPTO_ALG_DES
Identifies the DES cryptographic algorithm in Cipher Block Chaining (CBC) mode with a 64-bit (8 byte)...
Definition: ql_crypto.dox.h:2175
Qore::CRYPTO_ALG_CAST5_OFB
const CRYPTO_ALG_CAST5_OFB
Identifies the CAST5 cryptographic algorithm in Output Feedback (OFB) mode with a variable-length key...
Definition: ql_crypto.dox.h:2169
Qore::CRYPTO_ALG_CAST5
const CRYPTO_ALG_CAST5
Identifies the CAST5 cryptographic algorithm in Cipher Block Chaining (CBC) mode with a variable-leng...
Definition: ql_crypto.dox.h:2161
Qore::CRYPTO_ALG_DES_OFB
const CRYPTO_ALG_DES_OFB
Identifies the DES cryptographic algorithm in Output Feedback (OFB) mode with a 64-bit (8 byte) key.
Definition: ql_crypto.dox.h:2229
Qore::CRYPTO_ALG_DES_EDE3_OFB
const CRYPTO_ALG_DES_EDE3_OFB
Identifies the three-key triple DES algorithm in Output Feedback (OFB) mode with a 192-bit (24 byte) ...
Definition: ql_crypto.dox.h:2211
Qore::CRYPTO_ALG_DES_EDE3_CFB
const CRYPTO_ALG_DES_EDE3_CFB
Identifies the three-key triple DES algorithm in Cipher Feedback (CFB) mode with a 192-bit (24 byte) ...
Definition: ql_crypto.dox.h:2205
Qore::CRYPTO_ALG_RC5_OFB
const CRYPTO_ALG_RC5_OFB
Identifies the RC5 cryptographic algorithm in Output Feedback (OFB) mode with a variable-length key.
Definition: ql_crypto.dox.h:2277
Qore::CRYPTO_ALG_DES_EDE
const CRYPTO_ALG_DES_EDE
Identifies the two-key triple DES algorithm in Cipher Block Chaining (CBC) mode with a 128-bit (16 by...
Definition: ql_crypto.dox.h:2193
Qore::CRYPTO_ALG_RC5
const CRYPTO_ALG_RC5
Identifies the RC5 cryptographic algorithm in Cipher Block Chaining (CBC) mode with a variable-length...
Definition: ql_crypto.dox.h:2259
Qore::DefaultIV
const DefaultIV
The default initialization vector is simply a 8-byte string of nulls.
Definition: ql_crypto.dox.h:2291
Qore::rc5_decrypt_cbc_to_string
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...
Qore::desx_decrypt_cbc_to_string
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...
Qore::rc4_decrypt_to_string
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...
Qore::blowfish_decrypt_cbc_to_string
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...
Qore::des_ede_decrypt_cbc
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...
Qore::des_ede3_encrypt_cbc
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...
Qore::rc2_decrypt_cbc
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...
Qore::cast5_decrypt_cbc_to_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...
Qore::des_ede3_decrypt_cbc
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...
Qore::rc2_decrypt_cbc_to_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...
Qore::desx_encrypt_cbc
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...
Qore::des_decrypt_cbc
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.
Qore::des_ede_decrypt_cbc_to_string
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...
Qore::des_ede_encrypt_cbc
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...
Qore::rc5_encrypt_cbc
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...
Qore::blowfish_encrypt_cbc
binary blowfish_encrypt_cbc(data data, data key, data iv=Qore::DefaultIV)
Encrypts data using the Cipher Block Chaining function for the blowfish algorithm
Qore::desx_decrypt_cbc
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...
Qore::cast5_encrypt_cbc
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...
Qore::rc5_decrypt_cbc
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...
Qore::rc4_encrypt
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...
Qore::rc2_encrypt_cbc
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...
Qore::des_encrypt_cbc
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.
Qore::des_decrypt_cbc_to_string
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.
Qore::blowfish_decrypt_cbc
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...
Qore::cast5_decrypt_cbc
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...
Qore::rc4_decrypt
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...
Qore::des_random_key
binary des_random_key()
Returns a binary value of a random key for the DES algorithm
Qore::des_ede3_decrypt_cbc_to_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...
Qore::CRYPTO_DIGEST_SHA384
const CRYPTO_DIGEST_SHA384
specifies the SHA-384 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2363
Qore::DigestMap
const DigestMap
A hash keyed by supported digest name where each value is True.
Definition: ql_crypto.dox.h:2371
Qore::CRYPTO_DIGEST_SHA224
const CRYPTO_DIGEST_SHA224
specifies the SHA-224 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2355
Qore::CRYPTO_DIGEST_SHA1
const CRYPTO_DIGEST_SHA1
specifies the SHA1 message digest
Definition: ql_crypto.dox.h:2351
Qore::CRYPTO_DIGEST_MD2
const CRYPTO_DIGEST_MD2
specifies the MD2 message digest
Definition: ql_crypto.dox.h:2327
Qore::CRYPTO_DIGEST_SHA512
const CRYPTO_DIGEST_SHA512
specifies the SHA-512 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2367
Qore::CRYPTO_DIGEST_DSS
const CRYPTO_DIGEST_DSS
specifies the DSS message digest (based on SHA-0 and DSA)
Definition: ql_crypto.dox.h:2319
Qore::CRYPTO_DIGEST_MDC2
const CRYPTO_DIGEST_MDC2
specifies the MDC2 message digest
Definition: ql_crypto.dox.h:2339
Qore::CRYPTO_DIGEST_RIPEMD160
const CRYPTO_DIGEST_RIPEMD160
specifies the RIPEMD message digest
Definition: ql_crypto.dox.h:2343
Qore::CRYPTO_DIGEST_SHA256
const CRYPTO_DIGEST_SHA256
specifies the SHA-256 message digest (a variant of SHA-2)
Definition: ql_crypto.dox.h:2359
Qore::CRYPTO_DIGEST_MD4
const CRYPTO_DIGEST_MD4
specifies the MD4 message digest
Definition: ql_crypto.dox.h:2331
Qore::CRYPTO_DIGEST_DSS1
const CRYPTO_DIGEST_DSS1
specifies the DSS1 message digest (based on SHA1 and DSA)
Definition: ql_crypto.dox.h:2323
Qore::CRYPTO_DIGEST_SHA
const CRYPTO_DIGEST_SHA
specifies the insecure and outdated SHA-0 message digest; only supplied for compatibility purposes
Definition: ql_crypto.dox.h:2347
Qore::CRYPTO_DIGEST_MD5
const CRYPTO_DIGEST_MD5
specifies the MD5 message digest
Definition: ql_crypto.dox.h:2335
Qore::SHA512_bin
binary SHA512_bin(data data)
Returns the SHA-512 message digest (a variant of SHA-2) of the supplied argument as a binary value.
Qore::DSS_bin
binary DSS_bin(data data)
Returns the DSS message digest (based on SHA-0 and DSA) of the supplied argument as a binary value.
Qore::SHA256
string SHA256(data data)
Returns the SHA-256 message digest (a variant of SHA-2) of the supplied argument as a hex string.
Qore::SHA224
string SHA224(data data)
Returns the SHA-224 message digest (a variant of SHA-2) of the supplied argument as a hex string.
Qore::RIPEMD160
string RIPEMD160(data data)
Returns the RIPEMD message digest of the supplied argument as a hex string.
Qore::SHA256_bin
binary SHA256_bin(data data)
Returns the SHA-256 message digest (a variant of SHA-2) of the supplied argument as a binary value.
Qore::DSS1
string DSS1(data data)
Returns the DSS1 message digest (based on SHA1 and DSA) of the supplied argument as a hex string.
Qore::SHA384_bin
binary SHA384_bin(data data)
Returns the SHA-384 message digest (a variant of SHA-2) of the supplied argument as a binary value.
Qore::MD4
string MD4(data data)
Returns the MD4 message digest of the supplied argument as a hex string.
Qore::RIPEMD160_binary
binary RIPEMD160_binary(data data)
Returns the RIPEMD message digest of the supplied argument as a binary value.
Qore::SHA1_bin
binary SHA1_bin(data data)
Returns the SHA1 message digest of the supplied argument as a binary value.
Qore::SHA512
string SHA512(data data)
Returns the SHA-512 message digest (a variant of SHA-2) of the supplied argument as a hex string.
Qore::MD5
string MD5(data data)
Returns the MD5 message digest of the supplied argument as a hex string.
Qore::MDC2_bin
binary MDC2_bin(data data)
Returns the MDC2 message digest of the supplied argument as a binary value.
Qore::MD2_bin
binary MD2_bin(data data)
Returns the MD2 message digest of the supplied argument as binary value.
Qore::SHA1
string SHA1(data data)
Returns the SHA1 message digest of the supplied argument as a hex string.
Qore::MDC2
string MDC2(data data)
Returns the MDC2 message digest of the supplied argument as a hex string.
Qore::MD2
string MD2(data data)
Returns the MD2 message digest of the supplied argument as a hex string.
Qore::DSS
string DSS(data data)
Returns the DSS message digest (based on SHA-0 and DSA) of the supplied argument as a hex string.
Qore::MD4_bin
binary MD4_bin(data data)
Returns the MD4 message digest of the supplied argument as a binary value.
Qore::SHA_bin
binary SHA_bin(data data)
Returns the SHA (outdated SHA-0) message digest of the supplied argument as a binary value.
Qore::SHA384
string SHA384(data data)
Returns the SHA-384 message digest (a variant of SHA-2) of the supplied argument as a hex string.
Qore::DSS1_bin
binary DSS1_bin(data data)
Returns the DSS1 message digest (based on SHA-0 and DSA) of the supplied argument as a binary value.
Qore::SHA224_bin
binary SHA224_bin(data data)
Returns the SHA-224 message digest (a variant of SHA-2) of the supplied argument as a binary value.
Qore::SHA
string SHA(data data)
Returns the SHA (outdated SHA-0) message digest of the supplied argument as a hex string.
Qore::MD5_bin
binary MD5_bin(data data)
Returns the MD5 message digest of the supplied argument as a binary value.
Qore::get_digests
list< string > get_digests()
Returns a list of supported digest algorithms for hmac()
Qore::get_crypto_info
hash get_crypto_info()
Returns a hash of information about each cryptographic algorithmn supported by the current build of Q...
Qore::MDC2_hmac
string MDC2_hmac(data data, data key)
Returns the MDC2 based HMAC of the supplied argument as a hex string.
Qore::DSS1_hmac
string DSS1_hmac(data data, data key)
Returns the DSS1 (SHA-1 and DSA) based HMAC of the supplied argument as a hex string.
Qore::SHA512_hmac
string SHA512_hmac(data data, data key)
Returns the SHA512 based HMAC of the supplied argument as a hex string.
Qore::get_encryptor
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...
Qore::encrypt
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...
Qore::get_decryptor
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...
Qore::decrypt_to_string
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.
Qore::MD4_hmac
string MD4_hmac(data data, data key)
Returns the MD4 based HMAC of the supplied argument as a hex string.
Qore::get_random_bytes
binary get_random_bytes(int size)
returns a binary value of random bytes using openssl
Qore::SHA384_hmac
string SHA384_hmac(data data, data key)
Returns the SHA384 based HMAC of the supplied argument as a hex string.
Qore::MD5_hmac
string MD5_hmac(data data, data key)
Returns the MD5 based HMAC of the supplied argument as a hex string.
Qore::SHA_hmac
string SHA_hmac(data data, data key)
Returns the SHA based HMAC of the supplied argument as a hex string.
Qore::DSS_hmac
string DSS_hmac(data data, data key)
Returns the DSS (SHA-0 and DSA) based HMAC of the supplied argument as a hex string.
Qore::decrypt_to_binary
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...
Qore::RIPEMD160_hmac
string RIPEMD160_hmac(data data, data key)
Returns the RIPEMD based HMAC of the supplied argument as a hex string.
Qore::MD2_hmac
string MD2_hmac(data data, data key)
Returns the MD2 based HMAC of the supplied argument as a hex string.
Qore::digest
binary digest(string digest, data data)
Returns the digest of the supplied arguments as a binary value.
Qore::SHA1_hmac
string SHA1_hmac(data data, data key)
Returns the SHA1 based HMAC of the supplied argument as a hex string.
Qore::SHA224_hmac
string SHA224_hmac(data data, data key)
Returns the SHA224 based HMAC of the supplied argument as a hex string.
Qore::hmac
binary hmac(string digest, data data, data key)
Returns the digest-based HMAC of the supplied arguments as a binary value.
Qore::SHA256_hmac
string SHA256_hmac(data data, data key)
Returns the SHA256 based HMAC of the supplied argument as a hex string.
Qore::hash
hash< auto > hash(object obj)
Returns a hash of an object's members.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3