@Test
public void testEncryptToAes256Gcm() throws Exception {

  final Random random = new Random();
  for (int i = 0; i < 100; ++i) {
    byte[] message = randomUUID().toString().getBytes();
    byte[] nonce = Arrays.copyOfRange(randomUUID().toString().getBytes(), 0, 14);
    byte[] password = new byte[32];
    random.nextBytes(password);
    assertNotNull(CryptoUtils.encryptToAesGcm(message, password, nonce));
  }
}