Module fixed_arrays

Module fixed_arrays 

Source
Expand description

Fixed-size array types with const generics for type-safe cryptographic operations.

This module provides zero-cost abstractions over fixed-size byte arrays commonly used in cryptographic operations. All types use const generics for compile-time size checking.

Structs§

FixedBytes
Generic fixed-size byte array with const generic size.

Type Aliases§

Blake3Hash
BLAKE3 hash (32 bytes / 256 bits)
Ed25519PublicKey
Ed25519 public key (32 bytes / 256 bits)
Ed25519Signature
Ed25519 signature (64 bytes / 512 bits)
Nonce32
Challenge nonce (32 bytes / 256 bits)
Sha256Hash
SHA-256 hash (32 bytes / 256 bits)
Sha512Hash
SHA-512 hash (64 bytes / 512 bits)