Cleaning up and implementing api
This commit is contained in:
1 parent
4357124b48
commit
e61ffdf978
24 files changed
+352
-783
No files matched your search
@@ -23,6 +23,6 @@ object Sample {
|
||||
blake2bUpdateable.update("test")
|
||||
println(blake2bUpdateable.digest().toHexString())
|
||||
println("Blake2b stateless")
|
||||
println("Blake2b stateless: ${Crypto.Blake2b.stateless("test")}")
|
||||
println("Blake2b stateless: ${Crypto.Blake2b.stateless("test".encodeToByteArray().toUByteArray())}")
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,5 @@
|
||||
import com.ionspin.kotlin.crypto.hash.blake2b.Blake2bDelegated
|
||||
import com.ionspin.kotlin.crypto.hash.blake2b.Blake2bStateless
|
||||
import com.ionspin.kotlin.crypto.sample.Sample
|
||||
import kotlin.time.ExperimentalTime
|
||||
import kotlin.time.measureTime
|
||||
|
||||
@ExperimentalTime
|
||||
|
||||
|
||||
Reference in new issue
Block a user