public static byte [ ] encrypt ( byte [ ] input , String key , String algorithm , byte [ ] ivOrSalt , int iterations ) throws PageException { return crypt ( input , key , algorithm , ivOrSalt , iterations , false ) ; }
an encrypt method that takes a byte - array for input and returns an encrypted byte - array