mirror of
https://github.com/logos-blockchain/lssa-zkvm-testing.git
synced 2026-03-04 02:53:05 +00:00
Update shake256-33bytes-demo/methods/guest/src/main.rs
Co-authored-by: Sergio Chouhy <41742639+schouhy@users.noreply.github.com>
This commit is contained in:
parent
670092b451
commit
1c6f692f39
@ -70,7 +70,7 @@ mod crypto {
|
||||
out_index: u32,
|
||||
) -> [u8; 32] {
|
||||
let mut hasher = Sha256::new();
|
||||
sha2::Digest::update(&mut hasher, b"NSSA/v0.1/KDF-SHA256");
|
||||
hasher.update( b"NSSA/v0.1/KDF-SHA256");
|
||||
sha2::Digest::update(&mut hasher, &ss_bytes);
|
||||
sha2::Digest::update(&mut hasher, &epk[..]);
|
||||
sha2::Digest::update(&mut hasher, &ipk[..]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user