public static String encrypt ( String input ) { try { return encrypt ( input , null ) ; } catch ( GeneralSecurityException e ) { e . printStackTrace ( ) ; return null ; } }
Encrypt a string using a default key