Crate scsys_crypto

Source
Expand description

cryptographic primitives and utilities for the scsys ecosystem.

Modules§

error
hash
prelude
traits
utils

Structs§

H160
A SHA160 hash type.
H256
A SHA256 hash.

Enums§

CryptoError
a custom error type for the scsys-crypto crate

Traits§

Concat
this trait defines a common method for concatenating two entities into some new type.
RawHash

Functions§

digest_to_hash

Type Aliases§

CryptoResult
a type alias for a Result type configured to use the CryptoError type
GenericHash
the GenericHash type alias defines a standard hash format for the crate
GenericHashOutput
a type alias for a generic hash output
H160Hash
The H160Hash type is a 20-byte hash.
H256Array
The [H256Hash] type is a 32-byte hash.