mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
parent
2366582528
commit
55f4412e5a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ const cc2 = u32(0x79622d32) // 2-by
|
||||||
const cc3 = u32(0x6b206574) // te k
|
const cc3 = u32(0x6b206574) // te k
|
||||||
|
|
||||||
// Cipher represents ChaCha20 stream cipher instances.
|
// Cipher represents ChaCha20 stream cipher instances.
|
||||||
struct Cipher {
|
pub struct Cipher {
|
||||||
mut:
|
mut:
|
||||||
// internal's of ChaCha20 states, ie, 16 of u32 words, 4 of ChaCha20 constants,
|
// internal's of ChaCha20 states, ie, 16 of u32 words, 4 of ChaCha20 constants,
|
||||||
// 8 word (32 bytes) of keys, 3 word (24 bytes) of nonces and 1 word of counter
|
// 8 word (32 bytes) of keys, 3 word (24 bytes) of nonces and 1 word of counter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue