// Encoding.ASCII.GetBytes("29A15767")
// '2' '9' 'A' '1' '5' '7' '6' '7'
DES_cblock key = { 0x32, 0x39, 0x41, 0x31, 0x35, 0x37, 0x36, 0x37 };
// Encoding.UTF32.GetBytes("428848EDEBA04AF4C4D04F5ADCF0305A")
// Only the first two letters required to give 8 byte IV
// '4' '2'
DES_cblock iv = { 0x34, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00 };
// Encoding.ASCII.GetBytes("29A15767")
// '2' '9' 'A' '1' '5' '7' '6' '7'
DES_cblock key = { 0x32, 0x39, 0x41, 0x31, 0x35, 0x37, 0x36, 0x37 };
// Encoding.UTF32.GetBytes("428848EDEBA04AF4C4D04F5ADCF0305A")
// Only the first two letters required to give 8 byte IV
// '4' '2'
DES_cblock iv = { 0x34, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00 };
To copy to clipboard, switch view to plain text mode
Bookmarks