public class AESCipher extends Object implements Message.Cipher
Message.Cipher.KeyCipher.AES, Cipher.NotCipherable, Cipher.Undecipherable| Constructor and Description |
|---|
AESCipher() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] encryptedMessage,
Message.Cipher.Key key) |
byte[] |
encrypt(byte[] decryptedMessage,
Message.Cipher.Key key) |
SecretKeySpec |
spec(byte[] it) |
java8.util.function.Function<byte[],SecretKey> |
toSpec() |
public byte[] encrypt(byte[] decryptedMessage,
Message.Cipher.Key key)
encrypt in interface Cipher<Message.Cipher.Key>public byte[] decrypt(byte[] encryptedMessage,
Message.Cipher.Key key)
decrypt in interface Cipher<Message.Cipher.Key>public SecretKeySpec spec(byte[] it)
public java8.util.function.Function<byte[],SecretKey> toSpec()
Copyright © 2010–2025 Smals. All rights reserved.