decrypt

* Decrypts data using a specific key. * * Calls decrypt2 with the subkeys function createSubkeys and * the process function processBlock. * * 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. * * Returns: An array of bytes containing the decrypted data * * See_Also: * decrypt2

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

Meta