This commit is contained in:
Sahil-4555 2026-02-23 15:36:07 +05:30
parent 2f9582c033
commit 939bca4de7
3 changed files with 3 additions and 3 deletions

View file

@ -17,4 +17,4 @@ var _ KeccakState = (*Hasher)(nil)
func NewFastKeccak() *Hasher {
return &Hasher{}
}
}

View file

@ -130,4 +130,4 @@ func xorIn(state *[200]byte, data []byte) {
for i := n << 3; i < len(data); i++ {
state[i] ^= data[i]
}
}
}

View file

@ -16,4 +16,4 @@ type Hasher struct{ sponge }
func xorAndPermute(state *[200]byte, buf *byte) {
xorIn(state, unsafe.Slice(buf, rate))
keccakF1600(state)
}
}