pub type PrimaryKey = Zeroizing<[u8; 32]>;Expand description
Primary key material that scrubs itself on drop.
A8: the bare [u8; 32] is Copy, so every hand-off between
load_primary_key โ ensure_key_for_write โ serialize_secret left a
residual copy on a stack frame that no .zeroize() call could reach โ
zeroizing the last binding cleaned one copy and no more. Wrapping the array
makes it move-only in practice: each frame owns exactly one value and drops
it scrubbed.
Aliased Typeยง
pub struct PrimaryKey(/* private fields */);