Skip to main content

Module sensitive_slice

Module sensitive_slice 

Source

Type Aliases§

SensitiveSlice
A zero-copy view over a borrowed slice of secret bytes. Wrapping a &[u8] borrows the underlying buffer instead of cloning it, so the wrapper is bound by the borrow’s lifetime 'a and cannot outlive the data it points at. Debug/Display are redacted via the inner Sensitive.