Class CryptoJsWrapper
java.lang.Object
net.datenwerke.security.ext.client.crypto.CryptoJsWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]bytesToBase64(byte[] bytes) static byte[]bytesToHex(byte[] bytes) static byte[]bytesToString(byte[] bytes) static StringdecryptAES(String data, String passphrase) static StringdecryptAES(String data, String passphrase, String salt, int keylength, int nrOfIterations) static StringencryptAES(String data, String passphrase) static StringencryptAES(String data, String passphrase, String salt, int keylength, int nrOfIterations) static Stringstatic Stringstatic String
-
Constructor Details
-
CryptoJsWrapper
public CryptoJsWrapper()
-
-
Method Details
-
sha1
-
hmac
-
encryptAES
-
decryptAES
-
encryptAES
-
pbkdf2
-
decryptAES
-
bytesToBase64
public static byte[] bytesToBase64(byte[] bytes) -
bytesToString
public static byte[] bytesToString(byte[] bytes) -
bytesToHex
public static byte[] bytesToHex(byte[] bytes)
-