Added jvm and js implementation for sha256/512
This commit is contained in:
1 parent
15be707114
commit
1894a5d995
6 files changed
+131
-64
No files matched your search
+2
-1
@@ -15,7 +15,8 @@ expect class Sha512State
|
||||
|
||||
expect object Hash {
|
||||
|
||||
fun hash(data: UByteArray) : UByteArray
|
||||
//Not present in LazySodium
|
||||
//fun hash(data: UByteArray) : UByteArray
|
||||
|
||||
fun sha256(data: UByteArray) : UByteArray
|
||||
fun sha256Init() : Sha256State
|
||||
|
||||
Reference in new issue
Block a user