Interface EncryptionMethod<E extends Key,D extends Key>

All Known Implementing Classes:
AesGcm, Ecies

public interface EncryptionMethod<E extends Key,D extends Key>
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    decrypt(D key, byte[] encryptedData)
     
    byte[]
    encrypt(E key, byte[] plain)
     
  • Method Details

    • encrypt

      byte[] encrypt(E key, byte[] plain)
    • decrypt

      byte[] decrypt(D key, byte[] encryptedData)