Monthly Archives: August, 2008
Using .NET TripleDES Crypto Provider
I recently wrote a wrapper class implementing the .NET System.Security.Cryptography.TripleDESCryptoServiceProvider to quickly allow you to encrypt a plaintext string and return the Base64 encoded string of the encrypted bytes created by the TripleDES cipher (and decrypt that string back to plaintext!). This provides a very simple way to encrypt and decrypt your data without the [...]
Simple Password Generator
To generate random passwords I have written a simple class in VB.NET, which accepts a string containing valid password characters and then generates passwords of n length using the specified characters. Public Class PasswordGenerator Private _pwChars As String Public Sub New() MyClass.New("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") End Sub Public Sub New(ByVal validChars As String) _pwChars = validChars [...]
Bio – Web Marketing Group
I am now working for an online marketing and search engine optimization specialist WMG (web marketing group) as a bespoke web applications developer. Again I am primarily working with ASP.NET and MS SQL.
Recent Comments