more macos targets again

This commit is contained in:
sergeych committed 2024-03-16 20:30:25 +01:00
1 parent 431d91b080
commit 193a0789b6
5 files changed
+29

No files matched your search

@@ -11,6 +11,10 @@ fun ByteArray.digestKeccak(parameter: KeccakParameter): ByteArray {
return Keccak.digest(this, parameter)
}
fun UByteArray.digestKeccak(parameter: KeccakParameter): UByteArray {
return Keccak.digest(this.toByteArray(), parameter).toUByteArray()
}
/**
* Computes the proper Keccak digest of [this] string based on the given [parameter]
*/