Enum blind_rsa_signatures::Hash
source · pub enum Hash {
Sha256,
Sha384,
Sha512,
}
Expand description
Hash function for padding and message hashing
Variants§
Implementations§
source§impl Hash
impl Hash
sourcepub fn new_sha256() -> Self
pub fn new_sha256() -> Self
Constructs a new Hash::Sha256
.
source§impl Hash
impl Hash
sourcepub fn new_sha384() -> Self
pub fn new_sha384() -> Self
Constructs a new Hash::Sha384
.
source§impl Hash
impl Hash
sourcepub fn new_sha512() -> Self
pub fn new_sha512() -> Self
Constructs a new Hash::Sha512
.