public String decrypt(String str) {
		try {
			str = StringUtil.replaceChar(str, ' ', '+');	// replace spaces with chars.
			byte[] dec = Base64.decode(str);    	// decode base64 to get bytes
			byte[] utf8 = dcipher.doFinal(dec);     // decrypt
			return new String(utf8, UTF_8);			// decode using utf-8
		} catch (Throwable ignore) {
			return null;
		}
	}
public String decrypt(String str) {
		try {
			str = StringUtil.replaceChar(str, ' ', '+');	
			byte[] dec = Base64.decode(str);    	
			byte[] utf8 = dcipher.doFinal(dec);     
			return new String(utf8, UTF_8);			
		} catch (Throwable ignore) {
			return null;
		}
	}
public String decrypt ( String str ) { try { str = StringUtil . replaceChar ( str , ' ' , ' ' ) ; // replace spaces with chars. byte [ ] dec = Base64 . decode ( str ) ; // decode base64 to get bytes byte [ ] utf8 = dcipher . doFinal ( dec ) ; // decrypt return new String ( utf8 , UTF_8 ) ; // decode using utf-8 } catch ( Throwable ignore ) { return null ; } }
Symmetrically decrypts the string.
Symmetrically decrypts the string .