Expand description
cryptographic primitives and utilities for the scsys ecosystem.
Modules§
- error
- this module provides error handling utilities for the
scsys-cryptocrate - hash
- this implements various hashing primitives and utilities for cryptographic operations.
- prelude
- traits
- utils
- core utilities for the
cryptomodules
Structs§
Enums§
- Error
- a custom error type for the
scsys-cryptocrate
Traits§
- Concat
- this trait defines a common method for concatenating two entities into some new type.
- Hash
- The
Hashtrait establishes a common interface for hashing types. - Hashable
- Hasher
- A
Hasherdefines a common interface for defining specific hashing algorithm. - RawHash
RawHashdefines a common interface for raw hash types.- Sized
Hash SizedHashextendsRawHashto include a constant size for the hash output.
Functions§
- digest_
to_ hash - Utility functions for converting between different cryptographic representations
Type Aliases§
- 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. - Result
- a type alias for a
Resultwith the error type fixed toError