Security Verified
Browse Categories
 Affiliates
 Backup & Restore
 Billing & MyAccount FAQs
 Control Panels
 Customer Tools
 Databases
 Dedicated Servers
 DNS and Domain Registration
 Email
 Glossary
 Network
 News
 PCI Compliance
 Postmaster
 Pre-sales FAQ
 Publishing Your Site
 Reseller Tips
 Search Engine Optimization
 Security Topics
 SSL and HTTPS
 Support: Getting Help
 Virtual Desktops
 Virtual Servers
 Website Design & Development
 Website Errors

DotNetNuke Hosting
SQL 2008 R2 / IIS 7.5 Hosting
WordPress Hosting
Forex Trader Hosting
Personal Desktop Hosting

ASPCrypt - One Way Encryption

Article ID: 302

 Back to Search

ASPCrypt - One Way Encryption
Below is an example on how to use ASPCrypt object. This can be used when you want to store or compare data, but you would like the data to be encrypted, such as passwords. Note, this is one way the encryption cannot be de-crypted. To compare a stored encryption you should first encrypt the data then compare the two encrypted values. This test code only shows how the object works.
<%
Set Cryptor = Server.CreateObject ("AspCrypt.Crypt")
'Key to use for encryption
strKey = "MyKey"
'The text to Encrypt
strValue = "Text to Encrypt"
Response.Write "The crypted valued is " & Cryptor.Crypt (strKey, strValue)
Set Cryptor = nothing
%>
 
Downloads Associated With This Article
No downloads are currently associated with this article.

© 2001 - 2012 3Essentials Inc.
Terms Of Service | Privacy Policy | Copyright Policy | Affiliates