Added sha2 hashes in common and native and test

This commit is contained in:
Ugljesa Jovanovic authored and Ugljesa Jovanovic committed 2020-08-31 20:44:37 +02:00
1 parent 1878144b8f
commit 15be707114
7 files changed
+313 -4

No files matched your search

@@ -0,0 +1,39 @@
package com.ionspin.kotlin.crypto.hash
actual object Hash {
actual fun hash(data: UByteArray): UByteArray {
TODO("not implemented yet")
}
actual fun sha256(data: UByteArray): UByteArray {
TODO("not implemented yet")
}
actual fun sha256Init(): Sha256State {
TODO("not implemented yet")
}
actual fun sha256Update(state: Sha256State, data: UByteArray) {
}
actual fun sha256Final(state: Sha256State): UByteArray {
TODO("not implemented yet")
}
actual fun sha512(data: UByteArray): UByteArray {
TODO("not implemented yet")
}
actual fun sha512Init(): Sha512State {
TODO("not implemented yet")
}
actual fun sha512Update(state: Sha512State, data: UByteArray) {
}
actual fun sha512Final(state: Sha512State): UByteArray {
TODO("not implemented yet")
}
}