pub fn issue_nonce<S>(
secret: S,
now_unix: i64,
ctx: &NonceCtx<'_>,
) -> Result<String, DpopError>where
S: IntoSecretBox,Expand description
Issue a fresh nonce bound to the given context.
Accepts either a SecretBox<[u8]> or any type that can be converted to bytes (e.g., &[u8], Vec<u8>).
Non-boxed types will be automatically converted to SecretBox internally.