Hello all,
I have a requirement to decrypt a string that has apparently been encrypted using the DES algorithm in CBC mode. There seems to be no shortage of information around relating to how this can be achieved within .NET however my hurdle seems to be a more fundamental understanding of strings (bytes/hex - encoding??).
Documentation on single DES-CBC all clearly specifies the requirement is an 8 byte key. The key being supplied to us however is a 16 Byte HEX format. (E.G "E61CC4F71C0173 67")
What is it exactly that I need to understand to make this 16 Byte Hex key work to decrypt using DES-CBC?
Any direction with how to approach this problem is much appreciated. Thanks in advance.
I have a requirement to decrypt a string that has apparently been encrypted using the DES algorithm in CBC mode. There seems to be no shortage of information around relating to how this can be achieved within .NET however my hurdle seems to be a more fundamental understanding of strings (bytes/hex - encoding??).
Documentation on single DES-CBC all clearly specifies the requirement is an 8 byte key. The key being supplied to us however is a 16 Byte HEX format. (E.G "E61CC4F71C0173 67")
What is it exactly that I need to understand to make this 16 Byte Hex key work to decrypt using DES-CBC?
Any direction with how to approach this problem is much appreciated. Thanks in advance.
Comment