Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nariod/RustPacker
/ random_aes_key
Function
random_aes_key
src/tools.rs:51–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
}
50
51
pub fn random_aes_key() -> [u8; 32] {
52
rand::random::<[u8; 32]>()
53
}
54
55
pub fn random_aes_iv() -> [u8; 16] {
56
rand::random::<[u8; 16]>()
Callers
2
test_random_aes_key_length
Function · 0.85
build_encrypted_output
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_random_aes_key_length
Function · 0.68