Skip to main content

SIGNING_DOMAIN

Constant SIGNING_DOMAIN 

Source
pub const SIGNING_DOMAIN: &str = "memstead-domain-publish-v1";
Expand description

Domain-separation prefix on the signed payload. Binds a signature to this protocol and version so a signature made for some other purpose with the same key can never be replayed as a Memstead publish authorisation. Bump the version suffix if the payload shape ever changes.