hide-sign
Hybrid Ed25519 + ML-DSA-65 signatures for the HIDE protocol. A signature is the concatenation of both halves and verifies only if both halves verify, so the scheme is never silently reduced to the weaker one. Both halves derive from a single 32-byte seed through domain-separated HKDF.
Also provides Challenge/SpentNonces for replay-safe proof of possession.
use ;
let identity = generate?;
let verifying: VerifyingIdentity = identity.verifying_key;
let context = b"hide/example";
let signature: = identity.sign;
verifying.verify?;
// Public keys and signatures are fixed-size byte arrays.
let restored = from_bytes?;
assert!;
# Ok::
Signing is deterministic. No primitive is implemented here; the crate composes
ed25519-dalek and ml-dsa and owns only the combination.
Experimental and unaudited. Do not rely on it for anything you cannot afford to lose or expose. Licensed Apache-2.0.