 | RC4UtilityKeystream(String) Method |
Generates an RC4 byte keystream that is intended to be XOR'd with plaintext.
Namespace: Orthogonal.Common.BasicAssembly: Orthogonal.Common.Basic (in Orthogonal.Common.Basic.dll) Version: 3.2.5
Syntaxpublic static IEnumerable<byte> Keystream(
string key
)
Parameters
- key String
- A non-empty string to generate the encryption key bytes via UTF-8 encoding.
Return Value
IEnumerableByteAn enumerable endless byte keystream.
Exceptions
See Also