Added sha256/512 to native, using posix malloc instead of sodium malloc

This commit is contained in:
Ugljesa Jovanovic authored and Ugljesa Jovanovic committed 2020-06-09 21:05:05 +02:00
1 parent 197aacac33
commit 6170dc0464
9 files changed
+63 -22

No files matched your search

@@ -15,7 +15,7 @@ import org.khronos.webgl.get
*/
actual class Sha256Delegated actual constructor(key: UByteArray?, hashLength: Int) : Sha256 {
actual class Sha256Delegated actual constructor() : Sha256 {
val state : dynamic