You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aegis/app/src/main/java/me/impy/aegis/crypto/CryptoUtils.java

17 lines
289 B
Java

package me.impy.aegis.crypto;
import java.util.Arrays;
public class CryptoUtils {
private CryptoUtils() {
}
public static void zero(char[] data) {
Arrays.fill(data, '\0');
}
public static void zero(byte[] data) {
Arrays.fill(data, (byte)0);
}
}