vernamByteCipher

Vernam encryption.

ubyte[]
vernamByteCipher
(
in ubyte[] message
,
in ubyte[] key
)

Parameters

message ubyte[]

Byte array for encryption.

key ubyte[]

Encryption key. Its length must be equal to the length of the message.

Return Value

Type: ubyte[]

Encrypted message.

Meta