decrypt2

* Decrypts data using a specific key. * * The input data must be a multiple of 8 bytes and the input key * must be exactly 8 bytes long. * * Params: * data = The data array to be decrypted * key = The key used to decrypt the data * unencryptedSize = The size/length of the unencrypted data. * The returning data will be truncated to this size if it has padding. * ksFunc = The function responsible for creating the subkeys * processFunc = The function responsible for processing one block of data * * Returns: An array of bytes containing the decrypted data * * See_Also: * decrypt

pure
ubyte[]
decrypt2
(
const(ubyte)[] data
,
const(ubyte)[] key
,
const size_t unencryptedSize
,,)

Meta