Qore Programming Language Reference Manual  1.0.8
ql_crypto.dox.h
1 
3 namespace Qore {
36 
38 
65 binary blowfish_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
66 
68 
97 string blowfish_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
98 
100 
126 binary blowfish_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
127 
129 
155 binary cast5_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
156 
158 
187 string cast5_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
188 
190 
216 binary cast5_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
217 
219 
246 binary des_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
247 
249 
279 string des_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
280 
282 
309 binary des_ede3_decrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
310 
312 
342 string des_ede3_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
343 
345 
372 binary des_ede3_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
373 
375 
402 binary des_ede_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
403 
405 
435 string des_ede_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
436 
438 
465 binary des_ede_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
466 
468 
495 binary des_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
496 
498 
509 
511 
538 binary desx_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
539 
541 
571 string desx_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
572 
574 
601 binary desx_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
602 
604 
630 binary rc2_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
631 
633 
662 string rc2_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
663 
665 
691 binary rc2_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
692 
694 
722 binary rc4_decrypt(binary data, data key, data iv = Qore::DefaultIV);
723 
725 
756 string rc4_decrypt_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
757 
759 
787 binary rc4_encrypt(data data, data key, data iv = Qore::DefaultIV);
788 
790 
820 binary rc5_decrypt_cbc(binary data, data key, data iv = Qore::DefaultIV);
821 
823 
856 string rc5_decrypt_cbc_to_string(binary data, data key, data iv = Qore::DefaultIV, *string encoding);
857 
859 
889 binary rc5_encrypt_cbc(data data, data key, data iv = Qore::DefaultIV);
890 
892 }
893 
895 namespace Qore {
914 
916 
937 string DSS(data data);
938 
940 
960 string DSS1(data data);
961 
963 
983 binary DSS1_bin(data data);
984 
986 
1006 binary DSS_bin(data data);
1007 
1009 
1027 string MD2(data data);
1028 
1030 
1052 binary MD2_bin(data data);
1053 
1055 
1073 string MD4(data data);
1074 
1076 
1094 binary MD4_bin(data data);
1095 
1097 
1119 string MD5(data data);
1120 
1122 
1140 binary MD5_bin(data data);
1141 
1143 
1165 string MDC2(data data);
1166 
1168 
1190 binary MDC2_bin(data data);
1191 
1193 
1211 string RIPEMD160(data data);
1212 
1214 
1232 binary RIPEMD160_binary(data data);
1233 
1235 
1255 string SHA(data data);
1256 
1258 
1278 string SHA1(data data);
1279 
1281 
1299 binary SHA1_bin(data data);
1300 
1302 
1326 string SHA224(data data);
1327 
1329 
1351 binary SHA224_bin(data data);
1352 
1354 
1378 string SHA256(data data);
1379 
1381 
1403 binary SHA256_bin(data data);
1404 
1406 
1430 string SHA384(data data);
1431 
1433 
1455 binary SHA384_bin(data data);
1456 
1458 
1482 string SHA512(data data);
1483 
1485 
1507 binary SHA512_bin(data data);
1508 
1510 
1530 binary SHA_bin(data data);
1531 
1533 }
1534 
1536 namespace Qore {
1558 
1560 
1578 string DSS1_hmac(data data, data key);
1579 
1581 
1598 string DSS_hmac(data data, data key);
1599 
1601 
1621 string MD2_hmac(data data, data key);
1622 
1624 
1639 string MD4_hmac(data data, data key);
1640 
1642 
1659 string MD5_hmac(data data, data key);
1660 
1662 
1677 string MDC2_hmac(data data, data key);
1678 
1680 
1695 string RIPEMD160_hmac(data data, data key);
1696 
1698 
1715 string SHA1_hmac(data data, data key);
1716 
1718 
1736 string SHA224_hmac(data data, data key);
1737 
1739 
1757 string SHA256_hmac(data data, data key);
1758 
1760 
1778 string SHA384_hmac(data data, data key);
1779 
1781 
1799 string SHA512_hmac(data data, data key);
1800 
1802 
1819 string SHA_hmac(data data, data key);
1820 
1822 
1850 binary decrypt_to_binary(string alg, data data, data key, data iv = Qore::DefaultIV, *data mac, *data aad);
1851 
1853 
1882 string decrypt_to_string(string alg, data data, data key, data iv = Qore::DefaultIV, *data mac, *data aad, *string encoding);
1883 
1885 
1904 binary digest(string digest, data data);
1905 
1907 
1937 binary encrypt(string alg, data data, data key, data iv = Qore::DefaultIV, *reference<binary> mac, *int mac_size, *data aad);
1938 
1940 
1963 
1965 
1993 Transform get_decryptor(string alg, data key, data iv = Qore::DefaultIV, *data mac, *data aad);
1994 
1996 
2011 list<string> get_digests();
2012 
2014 
2044 Transform get_encryptor(string alg, data key, data iv = Qore::DefaultIV, *reference<binary> mac, *int mac_size, *data aad);
2045 
2047 
2064 binary get_random_bytes(int size);
2065 
2067 
2089 binary hmac(string digest, data data, data key);
2090 
2092 }
2093 
2095 namespace Qore {
2117 
2119 
2127  const CRYPTO_ALG_AES_128 = "aes128";
2129 
2136  const CRYPTO_ALG_AES_192 = "aes192";
2138 
2145  const CRYPTO_ALG_AES_256 = "aes256";
2147 
2149  const CRYPTO_ALG_BLOWFISH = "blowfish";
2151 
2153  const CRYPTO_ALG_BLOWFISH_CFB = "blowfish-cfb";
2155 
2157  const CRYPTO_ALG_BLOWFISH_OFB = "blowfish-ofb";
2159 
2161  const CRYPTO_ALG_CAST5 = "cast5";
2163 
2165  const CRYPTO_ALG_CAST5_CFB = "cast5-cfb";
2167 
2169  const CRYPTO_ALG_CAST5_OFB = "cast5-ofb";
2171 
2175  const CRYPTO_ALG_DES = "des";
2177 
2181  const CRYPTO_ALG_DESX = "desx";
2183 
2187  const CRYPTO_ALG_DES_CFB = "des-cfb";
2189 
2193  const CRYPTO_ALG_DES_EDE = "desede";
2195 
2199  const CRYPTO_ALG_DES_EDE3 = "desede3";
2201 
2205  const CRYPTO_ALG_DES_EDE3_CFB = "desede3-cfb";
2207 
2211  const CRYPTO_ALG_DES_EDE3_OFB = "desede3-ofb";
2213 
2217  const CRYPTO_ALG_DES_EDE_CFB = "desede-cfb";
2219 
2223  const CRYPTO_ALG_DES_EDE_OFB = "desede-ofb";
2225 
2229  const CRYPTO_ALG_DES_OFB = "des-ofb";
2231 
2234  const CRYPTO_ALG_RC2 = "rc2";
2236 
2239  const CRYPTO_ALG_RC2_CFB = "rc2-cfb";
2241 
2244  const CRYPTO_ALG_RC2_OFB = "rc2-ofb";
2246 
2250  const CRYPTO_ALG_RC4 = "rc4";
2252 
2259  const CRYPTO_ALG_RC5 = "rc5";
2261 
2268  const CRYPTO_ALG_RC5_CFB = "rc5-cfb";
2270 
2277  const CRYPTO_ALG_RC5_OFB = "rc5-ofb";
2279 }
2280 
2282 namespace Qore {
2288 
2290  const DefaultIV = <0000000000000000>;
2293 }
2294 
2296 namespace Qore {
2314 
2316 
2319  const CRYPTO_DIGEST_DSS = "dss";
2321 
2323  const CRYPTO_DIGEST_DSS1 = "dss1";
2325 
2327  const CRYPTO_DIGEST_MD2 = "md2";
2329 
2331  const CRYPTO_DIGEST_MD4 = "md4";
2333 
2335  const CRYPTO_DIGEST_MD5 = "md5";
2337 
2339  const CRYPTO_DIGEST_MDC2 = "mdc2";
2341 
2343  const CRYPTO_DIGEST_RIPEMD160 = "ripemd160";
2345 
2347  const CRYPTO_DIGEST_SHA = "sha";
2349 
2351  const CRYPTO_DIGEST_SHA1 = "sha1";
2353 
2355  const CRYPTO_DIGEST_SHA224 = "sha224";
2357 
2359  const CRYPTO_DIGEST_SHA256 = "sha256";
2361 
2363  const CRYPTO_DIGEST_SHA384 = "sha384";
2365 
2367  const CRYPTO_DIGEST_SHA512 = "sha512";
2369 
2371  const DigestMap = qore(init_digest_map_hash());
2373 }
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&#39;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
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
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...
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
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_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
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()
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
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&#39;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&#39;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&#39;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
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
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&#39;s RC4(tm) a...
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
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
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
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
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&#39;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...
const CRYPTO_ALG_RC2
Identifies RSA&#39;s RC2(tm) cryptographic algorithm in Cipher Block Chaining (CBC) mode with a variable-...
Definition: ql_crypto.dox.h:2234
const CRYPTO_ALG_DESX
Identifies RSA&#39;s DESX cryptographic algorithm in Cipher Block Chaining (CBC) mode with a 192-bit (24 ...
Definition: ql_crypto.dox.h:2181
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_ALG_CAST5_OFB
Identifies the CAST5 cryptographic algorithm in Output Feedback (OFB) mode with a variable-length key...
Definition: ql_crypto.dox.h:2169
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&#39;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...
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
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...
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
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
const CRYPTO_ALG_RC2_CFB
Identifies RSA&#39;s RC2(tm) cryptographic algorithm in Cipher Feedback (CFB) mode with a variable-length...
Definition: ql_crypto.dox.h:2239
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&#39;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&#39;s RC5(tm) algorithm using a variable-l...
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
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...
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
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
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&#39;s RC4(tm) a...
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
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&#39;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&#39;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
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
const CRYPTO_ALG_RC2_OFB
Identifies RSA&#39;s RC2(tm) cryptographic algorithm in Output Feedback (OFB) mode with a variable-length...
Definition: ql_crypto.dox.h:2244
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&#39;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...
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
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
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
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.
const CRYPTO_ALG_RC4
Identifies the Alleged RC4 cryptographic algorithm, which should be compatible with RSA&#39;s RC4(TM) alg...
Definition: ql_crypto.dox.h:2250
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