Cerberus
Moderator
Web-page
Email
|
posted 2004-01-21 04:56:01 |
Reply -Delete |
Actually, all that you need is to initialize Key parameter of the Crypto object.
If you keep your key in the binary form, use the following construction:
var oRs = Server.CreateObject("ADODB.Recordset");
var objSrcBlob = Server.CreateObject("Miraplacid.MSCBlob");
...
objSstBlob.Bin = oRs(2).Value;
If you keep this value in any other form (hex, base64), use appropriate properties.
After that, you will be able to decrypt your data with imported key.
Have a nice day.
| |