public String encrypt ( String clearText ) throws MissingParameterException { if ( StringUtils . isBlank ( clearText ) ) { throw new MissingParameterException ( "Missing parameter: clearText" ) ; } return stringEncryptor . encrypt ( clearText ) ; }
Method which will encrypt a string .