HostKube

Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VBMD5 Library
11-08-2007, 01:06 AM
Post: #1
VBMD5 Library
Hello Bytes,

I have created a MD5 library for anyone who needs it using VB.NET. Instructions for use, requirements, and features are below.

Requirements:

* Must have the .NET Framework
* Must use with VB, no other languages supported

Features:

* Encrypt strings to MD5 format, duh!
* More to come if desired...

Usage:

1. Reference the DLL in your project, by clicking "Project", "Add Reference...". Click the "Browse" tab, find the DLL, click OK.

2. Import the DLL, like so:

Code:
Imports VBMD5.Encrypt

Make sure that code is at the very top of your project, before all your classes, modules, etc.

3. Now, to encrypt a string:

Code:
Dim md5 As New VBMD5.Encrypt
MsgBox(md5.MD5("test"))

Another example:

Code:
Dim enc As New VBMD5.Encrypt
Dim str1 as string = enc.MD5("some_string")
Dim str2 as string = enc.MD5(some_variable)
msgbox(str1)
msgbox(str2)

Download link: http://nevercracker.byteforums.com/random/VBMD5.zip

Enjoy!

[Image: GHST_Sig.png]

Epic quote: "Posts should be as short as short skirts, short enough to cover enough, not too long that it covers too much."
Visit this user's website Find all posts by this user
Quote this message in a reply
11-08-2007, 01:10 AM
Post: #2
RE: VBMD5 Library
thanks nevercracker! i'll get to work using it in the morning =] highly appreciated

[Image: poweredby.jpg]
Web Hosting | Shoutcast Servers | Custom Solutions
Visit this user's website Find all posts by this user
Quote this message in a reply
11-18-2007, 06:17 PM
Post: #3
RE: VBMD5 Library
sorry about the double post but this is a god send! thanks again.

[Image: poweredby.jpg]
Web Hosting | Shoutcast Servers | Custom Solutions
Visit this user's website Find all posts by this user
Quote this message in a reply
11-23-2007, 11:26 PM
Post: #4
RE: VBMD5 Library
Haha, no problem man Smile

[Image: GHST_Sig.png]

Epic quote: "Posts should be as short as short skirts, short enough to cover enough, not too long that it covers too much."
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:

Contact UsByte ForumsReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication