SecureString
SecureString copied to clipboard
Obfuscated/clearable in memory string management
Results
2
SecureString issues
Sort by
recently updated
recently updated
newest added
``` private static void populateBufferWithSecureKeyData(ByteBuffer key) { final Random random = new SecureRandom(); final byte bytes[] = new byte[key.capacity()]; random.nextBytes(bytes); key.put(bytes); Arrays.fill(bytes, (byte) 0); } ```