Click here to Skip to main content
11,490,003 members (60,633 online)
Click here to Skip to main content
Add your own
alternative version

.NET Encryption Simplified

, 29 Jan 2007 1.1M 19.7K 566
A simple, string-oriented class for symmetric encryption, asymmetric encryption, and hashing.
''' <summary>
''' unit tests for the Encryption class to verify correct operation
''' see
''' </summary>
''' <remarks>
'''   Jeff Atwood
''' </remarks>
Module Module1

    Sub Main()
    End Sub

    ''' <summary>
    ''' This would normally be done with the console or GUI nUnit runner
    ''' </summary>
    Sub RunUnitTests()
        Console.WriteLine("running unit tests..")

        '-- in a real testing scenario, you'd determine which
        '-- methods to call based on Reflection and Attributes
        Dim t As New UnitTests

        Console.WriteLine("Press ENTER to continue...")
    End Sub

End Module

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Web Developer
United States United States
My name is Jeff Atwood. I live in Berkeley, CA with my wife, two cats, and far more computers than I care to mention. My first computer was the Texas Instruments TI-99/4a. I've been a Microsoft Windows developer since 1992; primarily in VB. I am particularly interested in best practices and human factors in software development, as represented in my recommended developer reading list. I also have a coding and human factors related blog at

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150520.1 | Last Updated 29 Jan 2007
Article Copyright 2005 by wumpus1
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid