Usage Example

Even though this library is very complicated internally, its public interface is very simple!

It's provided as our common extension to every ByteArray.

val randomString: String = UUID.randomUUID().toString()
val randomStringByteArray: String = randomString.toByteArray()
val randomStringKeccakF1600Output: ByteArray = randomStringByteArray.keccak.f1600()

Currently, we do support only F1600 function, but we encourage you to add more if you ever encounter a need for those. While we will try to add them in the meantime.

Last updated