public interface ByteEncryptor
Common interface for all Encryptors which receive a byte array message and return a byte array result.
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] encryptedMessage)
Decrypt an encrypted message
|
byte[] |
encrypt(byte[] message)
Encrypt the input message
|
byte[] encrypt(byte[] message)
message
- the message to be encryptedbyte[] decrypt(byte[] encryptedMessage)
encryptedMessage
- the encrypted message to be decryptedCopyright © 2019 JBoss by Red Hat. All rights reserved.