Fix array type in crypto_hash.