core::crypto::secret
Secret storage: a buffer in the large-object space, so the
collector never moves or copies it, zeroed by wipe, by using
release and by the collection that frees it (nabi_gc_secret_new).
Secret is the public byte form; SecretWords holds the algorithms'
32-bit key schedules and polynomials.
Structs
SecretSource
pub struct SecretA fixed-length secret byte string. It has one owner (let b = a
moves it), and is wiped where it is released.
lenzero bytes.A copy of
bytes.The number of bytes.
The bytes where they are, not a copy: a view reads zeros once the secret is wiped.
Overwrite the bytes with zeros now; every copy and view sees it.