public interface StreamCipher
StreamCipherProvider| Modifier and Type | Method and Description |
|---|---|
byte |
crypt(byte b)
Encrypts/decrypts specified byte.
|
void |
init(@NotNull byte[] key,
long iv)
Initializes the cipher from scratch with specified key and initialization vector.
|
void init(@NotNull
@NotNull byte[] key,
long iv)
key - cipher key of a length expected by particular implementationiv - 64-bit initialization vectorbyte crypt(byte b)
b - byte to encrypt/decrypt