Hush lite wallet for Android
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
324 B

package cash.z.ecc.kotlin.mnemonic
import java.util.*
/**
* Clears out the given char array in memory, for security purposes.
*/
fun CharArray.clear() {
Arrays.fill(this, '0')
}
/**
* Clears out the given byte array in memory, for security purposes.
*/
fun ByteArray.clear() {
Arrays.fill(this, 0.toByte())
}