Expand description
§Cryptographic Utilities for delta
This module provides cryptographic primitives and utilities for delta, including hash functions, keys, signatures, and message handling.
Modules§
- ed25519
- ED25519 signing scheme
- multisig
- Multi-signature signing scheme
- passkey
- Passkey signing scheme
- signing_
key - Generic signing key
Structs§
- Base
Signed Message - A basic container for signed messages, parameterized by payload and signature types.
- Hash
Digest - A 32-byte SHA256 hash digest.
- OwnerId
- The public identity of any actor on the network.
- Signature
Error - A signature error
Enums§
- IoError
- Error type for IO operations.
- Sign
Error - Error type returned when signing using Signable to sign data
- Signature
- A generic signature
Traits§
- Hash256
- A trait for types that can be hashed with
Sha256by directly hashing the bytes exposed asAsRef<[u8]>. - Into
Signature Enum - An abstraction for the various signature scheme that are available
- TryHash256
- A trait for types that can be hashed with
Sha256by serializing them fallibly and then hashing.
Functions§
- read_
keypair - Reads a private key from a JSON file at the specified path
Type Aliases§
- Signed
Message - Represents a signed message with some payload that has been signed using one of the supported Signature schemes.