Further API conversion
This commit is contained in:
1 parent
233ee1bf55
commit
1848de0e8d
24 files changed
+481
-317
No files matched your search
@@ -1,12 +1,8 @@
|
||||
package com.ionspin.kotlin.crypto.sample
|
||||
|
||||
import com.ionspin.kotlin.crypto.Crypto
|
||||
import com.ionspin.kotlin.crypto.CryptoProvider
|
||||
import com.ionspin.kotlin.crypto.hash.blake2b.Blake2b
|
||||
import com.ionspin.kotlin.crypto.hash.encodeToUByteArray
|
||||
import com.ionspin.kotlin.crypto.util.toHexString
|
||||
import kotlinx.coroutines.GlobalScope
|
||||
import kotlinx.coroutines.launch
|
||||
|
||||
object Sample {
|
||||
fun runSample() {
|
||||
@@ -27,4 +23,4 @@ object Sample {
|
||||
val statelessResult = Crypto.Blake2b.stateless("test".encodeToByteArray().toUByteArray())
|
||||
println("Blake2b stateless: ${statelessResult.toHexString()}")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user