Package | Description |
---|---|
org.wso2.carbon.core.encryption | |
org.wso2.carbon.core.util |
Modifier and Type | Method and Description |
---|---|
byte[] |
SymmetricEncryption.decryptWithSymmetricKey(byte[] encryptionBytes) |
byte[] |
SymmetricEncryption.encryptWithSymmetricKey(byte[] plainText) |
void |
SymmetricEncryption.generateSymmetricKey() |
Modifier and Type | Method and Description |
---|---|
byte[] |
CryptoUtil.base64DecodeAndDecrypt(String base64CipherText)
Base64 decode the given value and decrypt using the WSO2 WSAS key
|
byte[] |
CryptoUtil.decrypt(byte[] cipherTextBytes)
Decrypt the given cipher text value using the WSO2 WSAS key
|
byte[] |
CryptoUtil.encrypt(byte[] plainTextBytes)
Encrypt a given plain text
|
String |
CryptoUtil.encryptAndBase64Encode(byte[] plainText)
Encrypt the given plain text and base64 encode the encrypted content.
|
Copyright © 2016 WSO2 Inc. All rights reserved.