implement optimizations

This commit is contained in:
2026-01-15 22:06:28 +01:00
parent ab036f4f9f
commit d40df04e2e
26 changed files with 463 additions and 855 deletions

View File

@@ -4,4 +4,4 @@ import com.infendro.hash.keccak.Keccak
class SHAKE128(
bytes: Int,
) : Keccak(bytes, 168, 0x1FU)
) : Keccak(bytes, 168, 0x1F)

View File

@@ -4,4 +4,4 @@ import com.infendro.hash.keccak.Keccak
class SHAKE256(
bytes: Int,
) : Keccak(bytes, 136, 0x1FU)
) : Keccak(bytes, 136, 0x1F)