Should you apply a language filter to a randomly generated string?

Posted by Tim on Programmers See other posts from Programmers or by Tim
Published on 2011-02-10T12:57:05Z Indexed on 2011/02/10 15:33 UTC
Read the original article Hit count: 186

Filed under:

A while back I created a licensing system for my companies new product, as well as all products after this one. As with a lot of licensing systems mine generates codes: 25 character product and registration codes, as well as 16 character module unlocking codes.

My question is, since some parts of these generated codes are random should I apply a language filter to it to avoid any embarrassing language being given to the end users?

I chose to as it was not difficult at all.

But has anyone else ever came across something like this? Any viewpoints as to if it is worth the effort?

© Programmers or respective owner

Related posts about best-practices