diff --git a/crates/nargo_cli/tests/test_data/keccak256/src/main.nr b/crates/nargo_cli/tests/test_data/keccak256/src/main.nr index a0f500b3de4..8fafbaa4e27 100644 --- a/crates/nargo_cli/tests/test_data/keccak256/src/main.nr +++ b/crates/nargo_cli/tests/test_data/keccak256/src/main.nr @@ -5,6 +5,6 @@ use dep::std; fn main(x: Field, result: [u8; 32]) { // We use the `as` keyword here to denote the fact that we want to take just the first byte from the x Field // The padding is taken care of by the program - let digest = std::hash::sha256([x as u8]); + let digest = std::hash::keccak256([x as u8]); assert(digest == result); }