[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 820
  • Last Modified:

Using UNIX Crypt() function in VB

VB Experts:

I am creating a front end to a perl web program that is written in Perl. The password in the Perl program where encrypted using the crypt method. I need to know how I can encrypt a password in visual Basic to act the same way that the crypt method does so that I can compare my encrypted password in my VB program with that in the MySQL database.
0
rkonka123
Asked:
rkonka123
2 Solutions
 
blandyukCommented:
I found this article which might be what your looking for:

http://vbnet.mvps.org/index.html?code/algorithms/rot39.htm

VB6 source is there as well.
0
 
BrianGEFF719Commented:
The perl crypt() routine is a version of the DES encryption.

For an example of multiple encryption methods using Microsoft's CryptoAPI, please see:
http://www.freevbcode.com/ShowCode.Asp?ID=2131


That's a great example of how to easily perform a DES encryption in visual basic.


Good Luck
Brian
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now