Mira256.decrypt

Decrypts the given byte array data.

This method decrypts the data using the Mira algorithm with the specified decryption key. and an optional seed value. The decryption is done in place.

class Mira256
static pure
void
decrypt
(
ref ubyte[] data
,
string key
,
ulong seed = 0
)

Parameters

data ubyte[]

Reference to the byte array to be decrypted.

key string

The decryption key as a string. Must be either 256 or 512 bits.

seed ulong

An optional seed value used for decryption. Defaults to 0.

Meta