Encrypt and decrypt using ECB mode
Dear All,
I'm looking the way to convert special character to hex and perform the encryption
Example : (All are dummy values )
Encryption key = K (Double length and using triple-DES)
Clear test (C) 1234AB=C6578ABE3 -----(Encode) ------------>After encoding the data should 0-F (ABC12E340987EA12) --------(Encrypt using K)------>Ciper data ( ACF1BE547659AC34) ------->and sending to another server.
At server level
Ciper data( ACF1BE547659AC34) ------>(Decrypt using K)------>Getting encoding value (ABC12E340987EA12)-------->(Decode)------>Clear test (C) = 1234AB=C6578ABE3 -----------> and processing
Q1. Is there any encoding method that can be used ?
Note : Really I'm not in position to change length of clear test (such as encoding asciii ) .
Regards