Mcrypto v0.1.0 Mcrypto.Hasher.Sha2 View Source
sha2 hash functionality
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Mcrypto.Hasher.Sha2{
name: atom(),
round: non_neg_integer(),
size: non_neg_integer()
}
t() :: %Mcrypto.Hasher.Sha2{ name: atom(), round: non_neg_integer(), size: non_neg_integer() }
Sha2 data structure contains the following keys:
:name
: hasher name:size
: size of hash:round
: how many rounds of hashing do we do