public static String encryptPassword ( @ NotNull final String aPlainPass ) throws Exception { byte [ ] encBytes = encryptString ( aPlainPass . getBytes ( DEFAULT_CODEPAGE ) ) ; return Base64 . encodeBase64String ( encBytes ) ; }
encrypt a plain password