-
public interface Stream.Lazy
-
-
Method Summary
Modifier and Type Method Description abstract KeycryptoStreamKeygen(Stream.Method method)abstract Array<byte>cryptoStream(Array<byte> nonce, Key key, Stream.Method method)Generate 20 bytes of keystream abstract Array<byte>cryptoStream(int bytes, Array<byte> nonce, Key key, Stream.Method method)abstract StringcryptoStreamXor(String message, Array<byte> nonce, Key key, Stream.Method method)abstract StringcryptoStreamXorDecrypt(String cipher, Array<byte> nonce, Key key, Stream.Method method)abstract StringcryptoStreamXorIc(String message, Array<byte> nonce, long ic, Key key, Stream.Method method)abstract StringcryptoStreamXorIcDecrypt(String cipher, Array<byte> nonce, long ic, Key key, Stream.Method method)-
-
Method Detail
-
cryptoStreamKeygen
abstract Key cryptoStreamKeygen(Stream.Method method)
-
cryptoStream
@Deprecated(forRemoval = true, since = 6.0.0) abstract Array<byte> cryptoStream(Array<byte> nonce, Key key, Stream.Method method)
Generate 20 bytes of keystream
- Parameters:
nonce- Noncekey- Keymethod- Stream cipher to use
-
cryptoStream
abstract Array<byte> cryptoStream(int bytes, Array<byte> nonce, Key key, Stream.Method method)
-
cryptoStreamXor
abstract String cryptoStreamXor(String message, Array<byte> nonce, Key key, Stream.Method method)
-
cryptoStreamXorDecrypt
abstract String cryptoStreamXorDecrypt(String cipher, Array<byte> nonce, Key key, Stream.Method method)
-
cryptoStreamXorIc
abstract String cryptoStreamXorIc(String message, Array<byte> nonce, long ic, Key key, Stream.Method method)
-
cryptoStreamXorIcDecrypt
abstract String cryptoStreamXorIcDecrypt(String cipher, Array<byte> nonce, long ic, Key key, Stream.Method method)
-
-
-
-