Crate ethsign_crypto

Crate ethsign_crypto 

Source
Expand description

Pure Rust drop-in replacement for the parity-crypto crate.

Re-exports§

pub use error::Error;

Modules§

aes
AES symmetric encryption
error
Error handling module
scrypt
Scrypt key derivation wrapper around the scrypt crate.

Constants§

KEY_LENGTH
KEY_LENGTH_AES

Traits§

Keccak256
Helper trait for conveniently hashing byte slices

Functions§

derive_key_iterations
derive_mac
is_equal
Check if two slices are equal, this is equivalent to a == b and is only exposed here as a replacement for parity-crypto version which uses constant time compare from ring.