All Classes Namespaces Functions Variables Groups Pages
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, string key);
string DSS_hmac(data data, string key);
string MD2_hmac(data data, string key);
string MD4_hmac(data data, string key);
string MD5_hmac(data data, string key);
string MDC2_hmac(data data, string key);
string RIPEMD160_hmac(data data, string key);
string SHA1_hmac(data data, string key);
string SHA224_hmac(data data, string key);
string SHA256_hmac(data data, string key);
string SHA384_hmac(data data, string key);
string SHA512_hmac(data data, string key);
string SHA_hmac(data data, string key);
};
namespace Qore {
const DefaultIV = <0000000000000000>;
};
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 object...
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&#39;s DESX algorithm using a 24-byte key a...
Qore::DefaultIV
const DefaultIV
The default initialization vector is simply a 8-byte string of nulls.
Definition: ql_crypto.dox.h:1484
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 object...
Qore::MD4_hmac
string MD4_hmac(data data, string key)
Returns the MD4 based HMAC of the supplied argument as a hex string.
Qore::SHA
string SHA(data data)
Returns the SHA (outdated SHA-0) message digest of the supplied argument as a hex string...
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::RIPEMD160_binary
binary RIPEMD160_binary(data data)
Returns the RIPEMD message digest of the supplied argument as a binary object.
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::SHA1_hmac
string SHA1_hmac(data data, string key)
Returns the SHA1 based HMAC of the supplied argument as a hex string.
Qore::MD4
string MD4(data data)
Returns the MD4 message digest of the supplied argument as a hex string.
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_random_key
binary des_random_key()
Returns a binary object of a random key for the DES algorithm
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::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::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::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&#39;s RC2(tm) algorithm using a variable-l...
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&#39;s RC4(tm) a...
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&#39;s RC2(tm) algorithm using a variable-l...
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&#39;s RC4(tm) a...
Qore::MD5_hmac
string MD5_hmac(data data, string key)
Returns the MD5 based HMAC of the supplied argument as a hex string.
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
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&#39;s RC2(tm) algorithm using a variable-l...
Qore::MD5_bin
binary MD5_bin(data data)
Returns the MD5 message digest of the supplied argument as a binary object.
Qore::SHA512_hmac
string SHA512_hmac(data data, string key)
Returns the SHA512 based HMAC of the supplied argument as a hex string.
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::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::RIPEMD160
string RIPEMD160(data data)
Returns the RIPEMD message digest 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::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 object...
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&#39;s DESX algorithm using a 24-byte key a...
Qore::SHA_bin
binary SHA_bin(data data)
Returns the SHA (outdated SHA-0) message digest of the supplied argument as a binary object...
Qore::MDC2_bin
binary MDC2_bin(data data)
Returns the MDC2 message digest of the supplied argument as a binary object.
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::SHA384_hmac
string SHA384_hmac(data data, string key)
Returns the SHA384 based HMAC 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 object...
Qore::MD2_bin
binary MD2_bin(data data)
Returns the MD2 message digest of the supplied argument as binary object.
Qore::DSS_hmac
string DSS_hmac(data data, string key)
Returns the DSS (SHA-0 and DSA) based HMAC of the supplied argument as a hex string.
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::SHA256_hmac
string SHA256_hmac(data data, string key)
Returns the SHA256 based HMAC of the supplied argument as a hex string.
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 object...
Qore::DSS1_hmac
string DSS1_hmac(data data, string key)
Returns the DSS1 (SHA-1 and DSA) based HMAC of the supplied argument as a hex string.
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::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&#39;s RC2(tm) algorithm using a variable-l...
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&#39;s RC2(tm) algorithm using a variable-l...
Qore::MD2_hmac
string MD2_hmac(data data, string key)
Returns the MD2 based HMAC of the supplied argument as a hex string.
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::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&#39;s RC4(tm) a...
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::MD2
string MD2(data data)
Returns the MD2 message digest of the supplied argument as a hex string.
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&#39;s RC2(tm) algorithm using a variable-l...
Qore::SHA224_hmac
string SHA224_hmac(data data, string key)
Returns the SHA224 based HMAC of the supplied argument as a hex string.
Qore::SHA_hmac
string SHA_hmac(data data, string key)
Returns the SHA based HMAC of the supplied argument as a hex string.
Qore::SHA1
string SHA1(data data)
Returns the SHA1 message digest of the supplied argument as a hex string.
Qore::RIPEMD160_hmac
string RIPEMD160_hmac(data data, string key)
Returns the RIPEMD based HMAC 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 object.
Qore::SHA1_bin
binary SHA1_bin(data data)
Returns the SHA1 message digest of the supplied argument as a binary object.
Qore::MDC2
string MDC2(data data)
Returns the MDC2 message digest 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::MDC2_hmac
string MDC2_hmac(data data, string key)
Returns the MDC2 based HMAC of the supplied argument as a hex string.
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::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&#39;s DESX algorithm using a 24-byte key a...
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 object...
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::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_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::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...