1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Cryptographic Utilities Module
//! [AIR-1][AIS-1][BPC-1][AIT-1][RES-1]
//!
//! This module provides cryptographic utilities for the Bitcoin security framework.
// Re-export random number generator functions
pub use ;
// Module for symmetric encryption (AES, ChaCha20)
// Module for asymmetric encryption (RSA, ECC)
// Module for hashing functions (SHA256, SHA512, RIPEMD160)
// Module for digital signatures (ECDSA, Schnorr)
// Module for key derivation functions (PBKDF2, Argon2, scrypt)
/// Helper function to generate a secure cryptographic key of specified length
/// Helper function to generate a secure initialization vector
/// Helper function to generate a secure nonce