mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 22:12:55 +00:00
Match slot ID's to keystore aliases
This commit is contained in:
parent
c24b691a26
commit
576f908e01
13 changed files with 143 additions and 51 deletions
|
@ -120,7 +120,7 @@ public class CryptoUtils {
|
|||
return generateRandomBytes(CRYPTO_NONCE_SIZE);
|
||||
}
|
||||
|
||||
private static byte[] generateRandomBytes(int length) {
|
||||
public static byte[] generateRandomBytes(int length) {
|
||||
SecureRandom random = new SecureRandom();
|
||||
byte[] data = new byte[length];
|
||||
random.nextBytes(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue