I've developed somewhat complicated system to encode dates and letters into account "number" and then compute a Verhoeff check digit for the entire string. I've based most of my system off the systems that certain states use on driver licenses. I've spent quite a few hours working it all out in the past years.
My question is: Is anybody interested in a CFC that would take parameters, encode them into some string, compute a check digit for you and return it for you. Basically a simple way of encoding information into an "account" number and adding some error checking on top of that.
For example, I have an account number that take a company name (5 letters), date of account opening (this only take 4 characters total and includes month, day and year) and DB id. It converts any alpha to numerics to allow me to compute a check digit for as well and then returns the alphanumeric account number back - ready for use.
I currently have a version that is customized CFCfor my needs - however it's definitely now ready for community release at all and would require some work. Anybody interested?
.pjf
-- Peter J. Farrell :: Maestro Publishing
blog :: http://blog.maestropublishing.com email :: [EMAIL PROTECTED] phone :: 651-204-0513
I've learned that artificial intelligence is no match for natural stupidity. --
---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
