I want to encrypt a file using DES, i will encrypt it with a key lets say it is number (3). then i want to encrypt this key using the public key in RSA to became (xyz) as an example. (3) after i encrypt it with RSA became (xyz).
then when i want to decrypt (xyz) i will use the private key in RSA to decrypt it to became 3 again. in order to use number 3 to decrypt the file using Des.
i have both codes in RSA and in Des using vb.net but i couln't put them together to have the result i was looking for..
is there any one who can help me with that...
i would appreciat any help.
This post has been edited by nusaiba: 21 May 2009 - 08:55 AM