# Tuesday, August 30, 2005

IMPORTANT: The functions within this FLL have changed. Please refer to the latest documention for the VFP Encryption FLL that can be found at the following link (though this example and is still valid and will work unmodified using the current version of the VFP Encryption FLL):

http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,db662a8f-d47c-46c8-b0d2-a591c20d024b.aspx



Real World Examples
In my last blog entry I mentioned being able to use the vfpencryption.fll in some real world ways. While encrypting passwords and sensitve data using the ciphers, or checking passwords and files for authenticity using hash functions are pretty well known examples, there are others.

Generating CD Licenses
What about creating software serial numbers for an application you have developed? While I highly recommend a product like Armadillo when you need top-notch security, a more simplified approach that is still fairly secure can be had using a hashing function such as MD5.

Phil Fresle's Earlier Work
I remembered seeing an example of this a few years back by a developer named Phil Fresle (back then his example was simpler than it is now). And, since the vfpencryption.fll now supports MD5, I thought I would revisit his example and see whether something of this nature could be created for Visual FoxPro using the vfpencryption.fll.

Here is the download link and screen shot of what I came up with.

Download VFP Key Generator Example - source code included (80 KB approx)
* A reader reported having a problem unzipping the vfpkeygen.zip, so I have reuploaded it.

Tuesday, August 30, 2005 8:48:46 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]
All comments require the approval of the site owner before being displayed.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview

 

Archive

<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910