code: public static String encrypt(String salt, String password, String plainText) {
          SecretKey secret = getKey(salt, password);
          return encryptBouncyCastle(secret, plainText);
      }
docs: Encrypt the plain text.
  
  @param salt
  salt is used together with the password to construct a 256 bit SecretKey
  @param password
  the secret key
  @param plainText
  unencrypted text
  @return the iv as a hex string followed by '$' followed by the encrypted text.