Expand description
cryptographic primitives and utilities for the scsys
ecosystem.
Modules§
- error
- hash
- this implements various hashing primitives and utilities for cryptographic operations.
- prelude
- traits
- utils
Structs§
Enums§
- Crypto
Error - 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.
- Hash
- The
Hash
trait establishes a common interface for hashing types. - Hashable
- Hasher
- A
Hasher
defines a common interface for defining specific hashing algorithm. - RawHash
RawHash
defines a common interface for raw hash types.- Sized
Hash SizedHash
extendsRawHash
to include a constant size for the hash output.
Functions§
Type Aliases§
- Crypto
Result - a type alias for a
Result
type configured to use theCryptoError
type - Generic
Hash - the GenericHash type alias defines a standard hash format for the crate
- Generic
Hash Output - a type alias for a generic hash output
- H160
Hash - The H160Hash type is a 20-byte hash.
- H256
Array - The [
H256Hash
] type is a 32-byte hash.