public static interface EciesDemHelper.Dem
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] demKeyValue,
byte[] ciphertext,
int prefixAndHeaderSize) |
byte[] |
encrypt(byte[] demKeyValue,
byte[] prefix,
byte[] header,
byte[] plaintext) |
int |
getSymmetricKeySizeInBytes() |
int getSymmetricKeySizeInBytes()
byte[] encrypt(byte[] demKeyValue,
byte[] prefix,
byte[] header,
byte[] plaintext)
throws GeneralSecurityException
GeneralSecurityExceptionbyte[] decrypt(byte[] demKeyValue,
byte[] ciphertext,
int prefixAndHeaderSize)
throws GeneralSecurityException
GeneralSecurityException