Working single shot xchacha20poly1305 encryption and decryption in delegated flavour
This commit is contained in:
1 parent
6228263978
commit
e6f560ba8e
13 files changed
+66
-48
No files matched your search
+3
-1
@@ -5,6 +5,8 @@ package com.ionspin.kotlin.crypto.util
|
||||
* ugljesa.jovanovic@ionspin.com
|
||||
* on 22-Jun-2020
|
||||
*/
|
||||
val _emit = IntArray(0)
|
||||
|
||||
fun UByteArray.overwriteWithZeroes() {
|
||||
for (i in 0 until size) {
|
||||
this[i] = 0U
|
||||
@@ -15,4 +17,4 @@ fun UIntArray.overwriteWithZeroes() {
|
||||
for (i in 0 until size) {
|
||||
this[i] = 0U
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user