|
| h512 | dev::toCompact (const Signature &_s) |
| |
| Public | dev::toPublic (Secret const &_secret) |
| | Convert a secret key into the public key equivalent.
|
| |
| Public | dev::toPublic (PublicCompressed const &_publicCompressed) |
| | Convert a compressed public key into the uncompressed equivalent.
|
| |
| PublicCompressed | dev::toPublicCompressed (Secret const &_secret) |
| | Convert a secret key into the public key in compressed format.
|
| |
| Address | dev::toAddress (Public const &_public) |
| | Convert a public key to address.
|
| |
| Address | dev::toAddress (Secret const &_secret) |
| |
| void | dev::encrypt (Public const &_k, bytesConstRef _plain, bytes &o_cipher) |
| | Encrypts plain text using Public key.
|
| |
| bool | dev::decrypt (Secret const &_k, bytesConstRef _cipher, bytes &o_plaintext) |
| | Decrypts cipher using Secret key.
|
| |
| void | dev::encryptECIES (Public const &_k, bytesConstRef _plain, bytes &o_cipher) |
| | Encrypt payload using ECIES standard with AES128-CTR.
|
| |
| void | dev::encryptECIES (Public const &_k, bytesConstRef _sharedMacData, bytesConstRef _plain, bytes &o_cipher) |
| |
| bool | dev::decryptECIES (Secret const &_k, bytesConstRef _cipher, bytes &o_plaintext) |
| | Decrypt payload using ECIES standard with AES128-CTR.
|
| |
| bool | dev::decryptECIES (Secret const &_k, bytesConstRef _sharedMacData, bytesConstRef _cipher, bytes &o_plaintext) |
| |
| std::pair< bytes, h128 > | dev::encryptSymNoAuth (SecureFixedHash< 16 > const &_k, bytesConstRef _plain) |
| | Encrypts payload with random IV/ctr using AES128-CTR.
|
| |
| bytes | dev::encryptAES128CTR (bytesConstRef _k, h128 const &_iv, bytesConstRef _plain) |
| | Encrypts payload with specified IV/ctr using AES128-CTR.
|
| |
| bytesSec | dev::decryptAES128CTR (bytesConstRef _k, h128 const &_iv, bytesConstRef _cipher) |
| | Decrypts payload with specified IV/ctr using AES128-CTR.
|
| |
| bytes | dev::encryptSymNoAuth (SecureFixedHash< 16 > const &_k, h128 const &_iv, bytesConstRef _plain) |
| | Encrypts payload with specified IV/ctr using AES128-CTR.
|
| |
| bytes | dev::encryptSymNoAuth (SecureFixedHash< 32 > const &_k, h128 const &_iv, bytesConstRef _plain) |
| |
| bytesSec | dev::decryptSymNoAuth (SecureFixedHash< 16 > const &_k, h128 const &_iv, bytesConstRef _cipher) |
| | Decrypts payload with specified IV/ctr using AES128-CTR.
|
| |
| bytesSec | dev::decryptSymNoAuth (SecureFixedHash< 32 > const &_k, h128 const &_iv, bytesConstRef _cipher) |
| |
| Public | dev::recover (Signature const &_sig, h256 const &_hash) |
| | Recovers Public key from signed message hash.
|
| |
| Signature | dev::sign (Secret const &_k, h256 const &_hash) |
| | Returns siganture of message hash.
|
| |
| bool | dev::verify (Public const &_k, Signature const &_s, h256 const &_hash) |
| | Verify signature.
|
| |
| bool | dev::verify (PublicCompressed const &_key, h512 const &_signature, h256 const &_hash) |
| |
| | dev::crypto::DEV_SIMPLE_EXCEPTION (InvalidState) |
| |
| h256 | dev::crypto::kdf (Secret const &_priv, h256 const &_hash) |
| | Key derivation.
|
| |
| bool | dev::crypto::ecdh::agree (Secret const &_s, Public const &_r, Secret &o_s) noexcept |
| |
| bytes | dev::crypto::ecies::kdf (Secret const &_z, bytes const &_s1, unsigned kdByteLen) |
| |