Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Serial Generation and Validation

by contradev (Monk)
on Oct 04, 2005 at 20:43 UTC ( [id://497397]=note: print w/replies, xml ) Need Help??


in reply to Serial Generation and Validation

I can't comment on "true" software serial creation/validation, but from a web point of view (where hopefully no one can see your validation code)then this is really quite easy and a fun exercise..
I have often created codes similar to the typical "enter your code to receive your free whatever" in carts and usually it is preferable to use lookup tables, but sometimes where these codes need to be unlimited and unique you have to resort to a bit of trickery - you know you're not going to fool someone with clue and a lot of spare time but you can make it hard for them.
As mentioned above, use a lot of false trails (data which you can ignore) and leave youself with a chunk of data you can apply a bit of basic maths to.

regrds

c

1 and sleep;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://497397]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-19 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found