Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ SecretBox
Class
SecretBox
zeroize/tests/alloc.rs:39–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
static PROXY_ALLOCATOR: ProxyAllocator = ProxyAllocator;
38
39
struct SecretBox<S: Zeroize>(Box<S>);
40
41
impl<S: Zeroize> SecretBox<S> {
42
fn new(val: S) -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected