Skip to content

Commit

Permalink
feat: Make warning message more noticeable
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian-Bright committed Nov 29, 2024
1 parent a38d8c8 commit 8a5c664
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/src/partial_hash.nr
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ global BLOCK_SIZE = 64;
* @notice can be used for post-partial hashing where client proves part of hash and relies on server to finish
*
*
* @param N: the maximum length of the message to hash. NOTE: N must be N % BLOCK_SIZE == 0 otherwise the remaining
* bytes will not be inputted when computing the hash
* @param N: the maximum length of the message to hash.
* --- WARNING: N must be divisible by BLOCK_SIZE such that N % BLOCK_SIZE == 0
* otherwise the remaining bytes will not be inputted when computing the initial hash
* @param msg: the preimage to begin hashing
* @return the intermediate hash state
*/
Expand Down

0 comments on commit 8a5c664

Please sign in to comment.