Built and included modified libsodium with additional wrappers, working blake, sha256/512 hashes
This commit is contained in:
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
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user