VB.Net
  Home arrow VB.Net arrow String Encryption With Visual Basic .NET
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
VB.NET

String Encryption With Visual Basic .NET
By: Wrox Team
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 215
    2002-11-14

    Table of Contents:
  • String Encryption With Visual Basic .NET
  • Encryption and the .NET Framework
  • Encryption and Byte Arrays
  • Building the Encryption Class
  • Creating the Database
  • Decrypting the Order Data
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    String Encryption With Visual Basic .NET


    (Page 1 of 7 )

    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.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.

    More VB.Net Articles
    More By Wrox Team


       · Is this imports statement only available in .NET framework 2.0 and above ?.I am...
       · Thanks for making my job so much easier. It would have taken me days to figure this...
       · Thanks for the help, clear easy to use example!!!! :)
       · Should read Imports System.TextImports System.Security.Cryptography
     

    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...







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek