jodd-core/src/main/java/jodd/crypt/PBKDF2Encryptor.java
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, ' ', '+');	// 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 , ' ' , ' ' ) ; // 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 .