Built and included modified libsodium with additional wrappers, working blake, sha256/512 hashes

This commit is contained in:
Ugljesa Jovanovic authored and Ugljesa Jovanovic committed 2020-06-09 20:30:12 +02:00
1 parent 710ac43e8c
commit 197aacac33
30 files changed
+170 -89

No files matched your search

@@ -30,8 +30,6 @@ interface Hash {
interface UpdatableHash : Hash {
fun update(data : UByteArray)
fun update(data : String)
fun digest() : UByteArray
}
@@ -17,7 +17,7 @@ interface Sha512 : UpdatableHash {
}
interface StatelessSha512 : StatelessHash {
override val MAX_HASH_BYTES: Int
get() = Sha256Properties.MAX_HASH_BYTES
get() = Sha512Properties.MAX_HASH_BYTES
fun digest(
inputMessage: UByteArray = ubyteArrayOf()