Skip to content

Commit 839d526

Browse files
authored
blake2s, blake2b: fix typo in new_digest description (#23531)
1 parent f9d3bd3 commit 839d526

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎vlib/crypto/blake2b/blake2b.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ fn (err InputBufferSizeError) msg() string {
145145
// new_digest creates an initialized digest structure based on
146146
// the hash size and whether or not you specify a MAC key.
147147
//
148-
// hash_size - the number if bytes in the generated hash.
148+
// hash_size - the number of bytes in the generated hash.
149149
// Legal values are between 1 and 64.
150150
//
151151
// key - key used for generating a prefix MAC. A zero length

‎vlib/crypto/blake2s/blake2s.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ fn (err InputBufferSizeError) msg() string {
144144
// new_digest creates an initialized digest structure based on
145145
// the hash size and whether or not you specify a MAC key.
146146
//
147-
// hash_size - the number if bytes in the generated hash.
147+
// hash_size - the number of bytes in the generated hash.
148148
// Legal values are between 1 and 32.
149149
//
150150
// key - key used for generating a prefix MAC. A zero length

0 commit comments

Comments
 (0)