org.apache.synapse.securevault

## Interface EncryptionProvider

- All Known Implementing Classes:
    AsymmetricCipher, BaseCipher, SymmetricCipher

      public interface EncryptionProvider

  Provides Encrypt operation

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `encrypt(byte[] plainText)` Encrypts a plain text

- - ### Method Detail

    - #### encrypt

          byte[] encrypt(byte[] plainText)

      Encrypts a plain text
      Parameters:
        `plainText` - as a byte array
      Returns:
        cipher text as a byte array

Copyright © 2005–2019 Apache Software Foundation. All rights reserved.