- aes_decrypt
bool aes_decrypt(ubyte* ciphertext, int ciphertext_len, ubyte* tag, ubyte* key, ubyte* iv, ubyte* plaintext)
Undocumented in source. Be warned that the author may not have intended to support it.
- aes_encrypt
bool aes_encrypt(ubyte* plaintext, int plaintext_len, ubyte* key, ubyte* iv, ubyte* ciphertext, ubyte* tag)
Undocumented in source. Be warned that the author may not have intended to support it.
- bytes_xor
bool bytes_xor(ubyte[] data1, int data1_len, ubyte[] data2, int data2_len, ubyte[] m_out)
Undocumented in source. Be warned that the author may not have intended to support it.
- calc_ecdh_shared_key
bool calc_ecdh_shared_key(ubyte[CRYPTO_EC_PUB_KEY_LEN] ecdh1_public_key, ubyte[CRYPTO_EC_PRIV_KEY_LEN] ecdh1_private_key, ubyte[CRYPTO_EC_PUB_KEY_LEN] ecdh2_public_key, ubyte[CRYPTO_ECDH_SHARED_KEY_LEN] ecdh_shared_key)
Undocumented in source. Be warned that the author may not have intended to support it.
- ecdsa_sign
bool ecdsa_sign(ubyte[CRYPTO_EC_PRIV_KEY_LEN] ec_private_key, ubyte* hash, ubyte hash_len, ubyte[CRYPTO_ECDSA_SIG_LEN] sign)
Undocumented in source. Be warned that the author may not have intended to support it.
- generate_ecdh_keys
bool generate_ecdh_keys(ubyte[CRYPTO_EC_PUB_KEY_LEN] ecdh_public_key, ubyte[CRYPTO_EC_PRIV_KEY_LEN] ecdh_private_key)
Undocumented in source. Be warned that the author may not have intended to support it.
- generate_hkdf_bytes
bool generate_hkdf_bytes(ubyte[CRYPTO_ECDH_SHARED_KEY_LEN] ecdh_shared_key, ubyte[CRYPTO_SALT_LEN] salt, ubyte[] info, int info_len, ubyte[] m_out)
Undocumented in source. Be warned that the author may not have intended to support it.
- hmac_sha256
bool hmac_sha256(ubyte[] hmac, ubyte[] key, uint key_len, ubyte[] data, uint data_len)
Undocumented in source. Be warned that the author may not have intended to support it.
- rand_salt
bool rand_salt(ubyte[] salt, int bytes)
Undocumented in source. Be warned that the author may not have intended to support it.