Home arrow VB.Net arrow String Encryption With Visual Basic .NET
VB.NET

String Encryption With Visual Basic .NET


In this article Brian Patterson will cover some of the encryption classes provided in the .NET Framework. Once you have got a grasp on how to use these algorithms, he will wrap things up with a sample order application that will encrypt credit card information before saving it to either a SQL Server or Oracle database server.

Author Info:
By: Wrox Team
Rating: 4 stars4 stars4 stars4 stars4 stars / 282
November 14, 2002
TABLE OF CONTENTS:
  1. · String Encryption With Visual Basic .NET
  2. · Encryption and the .NET Framework
  3. · Encryption and Byte Arrays
  4. · Building the Encryption Class
  5. · Creating the Database
  6. · Decrypting the Order Data
  7. · Conclusion

print this article
SEARCH DEVARTICLES

String Encryption With Visual Basic .NET
(Page 1 of 7 )

More often than not, you have the need to encrypt data in memory and then later save that data out to a database or just hang onto it for the duration of your application. If you have searched the various .NET help files, you may have encountered encryption examples that always deal with encrypting the contents of a file. This isn't very useful when you need to encrypt something that isn't already contained within a file - saving information to a file just to encrypt it and load it back it is rather ludicrous!

In this article I will cover some of the encryption class provided in the .NET Framework. Once you have got a grasp on how to use these algorithms, I will wrap things up with a sample order application that will encrypt credit card information before saving it to either a SQL Server or Oracle database server.

Requirements
Before we get too involved there are a few things you should be familiar with to fully understand this article and get the most out of the sample application:
  • Creating a default Windows Form Application
  • Byte arrays
  • SQLClient and/or the OleDB classes
  • String conversion routines
You will also need access to a SQL Server 2000 or an Oracle 8i/9i Database Server with the appropriate access to create new databases.
blog comments powered by Disqus
VB.NET ARTICLES

- MyClass - Implementing Polymorphism in VB.Net
- Building a News Ticker Using VB.Net
- Everything You Wanted to Know About Forms In...
- Building Assemblies with VB.Net
- Simple VB.NET Notify Icon with Panel Applica...
- Regular Expressions in .NET
- String Encryption With Visual Basic .NET
- Deploying Applications in VB.NET: Part 1/2
- Watching Folder Activity in VB.NET
- Creating A Windows Service in VB.NET
- Implementing The Google Web Service In VB.NET
- Migrating to Visual Basic.NET from Visual Ba...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials