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