reallyme-crypto-csprng 0.2.0

Cryptographically secure random byte generation for ReallyMe Crypto.
Documentation
1
2
3
4
5
6
7
8
9
10
// SPDX-FileCopyrightText: Copyright © 2026 ReallyMe LLC. All rights reserved
//
// SPDX-License-Identifier: Apache-2.0

/// Length in bytes of a generated AEAD nonce (12 bytes).
pub const AEAD_NONCE_12_LENGTH: usize = 12;
/// Length in bytes of a generated 16-byte Argon2 salt.
pub const ARGON2_SALT_16_LENGTH: usize = 16;
/// Length in bytes of a generated 32-byte Argon2 salt.
pub const ARGON2_SALT_32_LENGTH: usize = 32;