From 9c0e73cdf705e21715479b8f7475237003eb200c Mon Sep 17 00:00:00 2001 From: Kim Shrier Date: Sun, 19 Jan 2025 15:59:13 -0700 Subject: [PATCH] fix typo in new_digest description --- vlib/crypto/blake2b/blake2b.v | 2 +- vlib/crypto/blake2s/blake2s.v | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/crypto/blake2b/blake2b.v b/vlib/crypto/blake2b/blake2b.v index 2a98617f7fc0e7..2176684cac7188 100644 --- a/vlib/crypto/blake2b/blake2b.v +++ b/vlib/crypto/blake2b/blake2b.v @@ -145,7 +145,7 @@ fn (err InputBufferSizeError) msg() string { // new_digest creates an initialized digest structure based on // the hash size and whether or not you specify a MAC key. // -// hash_size - the number if bytes in the generated hash. +// hash_size - the number of bytes in the generated hash. // Legal values are between 1 and 64. // // key - key used for generating a prefix MAC. A zero length diff --git a/vlib/crypto/blake2s/blake2s.v b/vlib/crypto/blake2s/blake2s.v index 124dd320c4a7d0..de5b7b424d1ed4 100644 --- a/vlib/crypto/blake2s/blake2s.v +++ b/vlib/crypto/blake2s/blake2s.v @@ -144,7 +144,7 @@ fn (err InputBufferSizeError) msg() string { // new_digest creates an initialized digest structure based on // the hash size and whether or not you specify a MAC key. // -// hash_size - the number if bytes in the generated hash. +// hash_size - the number of bytes in the generated hash. // Legal values are between 1 and 32. // // key - key used for generating a prefix MAC. A zero length