public class Ed25519BlockCipher extends java.lang.Object implements BlockCipher
| Constructor and Description |
|---|
Ed25519BlockCipher(KeyPair senderKeyPair,
KeyPair recipientKeyPair) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] input)
Decrypts an arbitrarily-sized message.
|
byte[] |
encrypt(byte[] input)
Encrypts an arbitrarily-sized message.
|
public byte[] encrypt(byte[] input)
BlockCipherencrypt in interface BlockCipherinput - The message to encrypt.public byte[] decrypt(byte[] input)
BlockCipherdecrypt in interface BlockCipherinput - The message to decrypt.