diff options
Diffstat (limited to 'cubehash.rkt')
-rw-r--r-- | cubehash.rkt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cubehash.rkt b/cubehash.rkt index 3aed1f3..9eb8a84 100644 --- a/cubehash.rkt +++ b/cubehash.rkt @@ -61,8 +61,8 @@ (define (cubehash init-rounds rounds/block block-size fin-rounds output-bits) - (λ: ([msg : Bytes]) - (let*: ([state : (Vectorof Word) + (λ: ([msg : Bytes]) + (let*: ([state : (Vectorof Word) (make-vector 32 #x0)] [msg-pad : Bytes (bytes-append msg |