reallyme-crypto-csprng 0.3.10
“Cryptographically secure random byte generation for ReallyMe Crypto.”
Release published within seven daysBracketed redacted replacement marker
SHA-256fbef7c98c84b09a792ad2b9e4aeef194c0318f5008d0967d86679e6802ab6905
MaleculeH(Cr)Md
Evidence
1// SPDX-FileCopyrightText: 2026 ReallyMe LLC
2//
3// SPDX-License-Identifier: MIT OR Apache-2.0
4
5/// Length in bytes of a generated AEAD nonce (12 bytes).
⋯5 lines
11/// Length in bytes of generated AES-256-GCM key material.
12pub const AES_256_GCM_KEY_LENGTH: usize = 32;
13/// Length in bytes of a generated ML-KEM-1024 FIPS 203 seed (`d || z`).
14pub const ML_KEM_1024_SEED_LENGTH: usize = 64;
15/// Length in bytes of a generated ML-DSA-87 FIPS 204 seed.
16pub const ML_DSA_87_SEED_LENGTH: usize = 32;
18:3… pl AeadNonce12 {
19 /// Returns a reference to the raw nonce bytes.
20 pub const fn as_bytes(&self) -> &[u8; AEAD_NONCE_12_LENGTH] {
21 &sel …
31:21… become stable account-correlating identifiers. This owner
32/// therefore clears its bytes on drop and never exposes them through `Debug`.
33#[derive(Zeroize, ZeroizeOnDrop)]
34pub struct Argon2Salt16([u8; ARGON2_SALT_16_LENGTH]);
35
36impl PartialEq for Argon2Salt16 {
37 fn eq(&self, other: &Self) -> bool {
38 bool::from(self.0.ct_eq(&other. …
62:62… > core::fmt::Result {
63 formatter.write_str("Argon2Salt16(<redacted>)")
64 }
65}
⋯4 lines
132:25…
133 Self { bytes: secret }
134 }
135}
136
137/// Randomly generated ML-KEM-1024 FIPS 203 seed material.
138///
139/// This is a sensitive-security-parameter owner and zeroizes on drop.
140#[derive(Zeroize, ZeroizeOnD …
No evidence locations were recorded for this file. Raw result