Package org.apache.synapse.securevault

# Interface EncryptionProvider

All Known Implementing Classes:
  `AsymmetricCipher`, `BaseCipher`, `SymmetricCipher`

public interface EncryptionProvider
Provides Encrypt operation

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte[]`
  `encrypt(byte[] plainText)`
  Encrypts a plain text

- ## Method Details

  - ### encrypt

    byte[] encrypt(byte[] plainText)
    Encrypts a plain text
    Parameters:
      `plainText` - as a byte array
    Returns:
      cipher text as a byte array