Rivest's Package Tranform
Rivest's Package Tranform
| RandomNumberGenerator rng | the random number generator to use | 
| BlockCipher cipher | the block cipher to use | 
| const(ubyte)* input | the input data buffer | 
| size_t input_len | the length of the input data in bytes | 
| ubyte* output | the output data buffer (must be at least input_len + cipher.BLOCK_SIZE bytes long) | 
Rivest's Package Tranform (Inversion)
| BlockCipher cipher | the block cipher to use | 
| const(ubyte)* input | the input data buffer | 
| size_t input_len | the length of the input data in bytes | 
| ubyte* output | the output data buffer (must be at least input_len - cipher.BLOCK_SIZE bytes long) |