public static byte [ ] encipher ( byte [ ] decrypted_bytes , String crypto_algorithm ) throws InvalidPasswordCipherException , UnsupportedCryptoAlgorithmException { EncryptedInfo info = encipher_internal ( decrypted_bytes , crypto_algorithm , ( String ) null ) ; // TODO check null return info . getEncryptedBytes ( ) ; }
Encipher the raw password using the provided algorithm .