Hello,
Can someone shows me how to set he right padding key for the DES Algorithm? I have 15 alpha-numerics key to decrypt the encrypted value but when I get to the legal key, it extracts the secret key to 8bytes to meet the DES Algorithm requirement and the return value for decrypted is "null", I wonder why is it and how do I set the right padding key for decrypting the encrypted value with the right secret key? Thanks
public
{
mKey = mKey.Substring(0, maxSize / 8);
}
mKey = mKey.PadRight(validSize / 8,