Class SymmetricEncryptionService


  • public class SymmetricEncryptionService
    extends Object
    • Constructor Detail

      • SymmetricEncryptionService

        public SymmetricEncryptionService()
    • Method Detail

      • encrypt

        public String encrypt​(String plainText)
                       throws org.wso2.carbon.core.util.CryptoException
        Throws:
        org.wso2.carbon.core.util.CryptoException
      • decrypt

        public String decrypt​(String encryptedText)
                       throws org.wso2.carbon.core.util.CryptoException
        Throws:
        org.wso2.carbon.core.util.CryptoException