Cleaning up and implementing api

This commit is contained in:
Ugljesa Jovanovic authored and Ugljesa Jovanovic committed 2020-06-07 00:02:53 +02:00
1 parent 4357124b48
commit e61ffdf978
24 files changed
+352 -783

No files matched your search

@@ -30,7 +30,7 @@ import com.ionspin.kotlin.crypto.util.rotateRight
class Blake2bPure(val key: UByteArray? = null, val hashLength: Int = 64) : Blake2b {
companion object : Blake2bStatelessInterface {
companion object : Blake2bStateless {
//Hack start
//If this line is not included konanc 1.4-M1 fails to link because it cant find ByteArray which is
//a backing class for UByteArray
@@ -16,8 +16,6 @@
package com.ionspin.kotlin.crypto.hash.sha
import com.ionspin.kotlin.crypto.hash.StatelessHash
import com.ionspin.kotlin.crypto.hash.UpdatableHash
import com.ionspin.kotlin.crypto.util.rotateRight