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
43
44
45
46
47
/// Core module containing essential cryptographic functionalities.
/// Module for the ChaCha20 stream cipher algorithm.
/// Re-exporting `ChaCha20` for direct use.
pub use ChaCha20;
/// Re-exporting `Poly1305` for direct use.
pub use ;
/// `Permutation` trait defines the common operations for permutation-based cryptographic algorithms.
///
/// This trait provides the fundamental methods required for encryption and decryption processes
/// in ciphers like ChaCha20 and XChaCha20.