public Encrypter create(SecretKey key) {
    Preconditions.checkArgument(key.getAlgorithm().equals("AES"));
    return new EncrypterImpl(CryptoTransformation.AES_CBC_NOPADDING, key, monitor);
  }
Creates a {@link EncrypterImpl} with the given {@link SecretKey} for use with "AES"-based
symmetric encryption.
libraries/security/src/main/java/org/datatransferproject/security/EncrypterFactory.java