From 12590cea8851487f3a0b49cbe341a14ddde4bd98 Mon Sep 17 00:00:00 2001 From: Mus M Date: Mon, 6 Feb 2017 12:25:29 -0500 Subject: [PATCH] Update sha3.jl --- src/sha3.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sha3.jl b/src/sha3.jl index 1db4d8f62defb..832cae789ccf7 100644 --- a/src/sha3.jl +++ b/src/sha3.jl @@ -4,7 +4,7 @@ function transform!{T<:SHA3_CTX}(context::T) for idx in 1:div(blocklen(T),8) context.state[idx] = context.state[idx] ⊻ buffer_as_uint64[idx] end - bc = Array(UInt64, 5) + bc = Vector{UInt64}(5) # We always assume 24 rounds for round in 0:23