Added hash test, fixed idea native cinterop resolution
This commit is contained in:
1 parent
006dd47873
commit
14676337fc
3 files changed
+10
-3
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import com.ionspin.kotlin.crypto.hash.blake2b.Blake2bDelegated
|
||||
import com.ionspin.kotlin.crypto.hash.blake2b.Blake2bStateless
|
||||
import kotlin.time.ExperimentalTime
|
||||
import kotlin.time.measureTime
|
||||
|
||||
@@ -9,4 +10,5 @@ fun main() {
|
||||
// Blake
|
||||
val blake = Blake2bDelegated()
|
||||
println("Result ${blake.digest()}")
|
||||
println("Result: ${Blake2bStateless.digest("test")}")
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
import com.ionspin.kotlin.crypto.hash.blake2b.Blake2bDelegated
|
||||
import com.ionspin.kotlin.crypto.hash.blake2b.Blake2bStateless
|
||||
import kotlin.time.ExperimentalTime
|
||||
import kotlin.time.measureTime
|
||||
|
||||
@@ -9,4 +10,6 @@ fun main() {
|
||||
// Blake
|
||||
val blake = Blake2bDelegated()
|
||||
blake.digest()
|
||||
println("Result: ${Blake2bStateless.digest("test")}")
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user