Randomize -- resend

  • We have a set of Property Loans:

    LoanNumber #1: personal lender1 details

    LoanNumber #2: personal lender2 details

    ....

    ....

    The Loan Numbers are actually integers housed in a varchar(6) string.

    My boss wants me to randomize the Loan Numbers so the details of the loan aren't obvious to the casual programmer. BUT I need to be able to "unscramble" the loan number to recognize the original loan in the event a problem arises with a particular loan. Any ideas how to do this?

    TIA,

    Bill

  • One method I've seen implemented that does something like this is to replace the numbers with letters. From memory it added 65 to the each digit and displayed the corresponding ASCII character.

    eg.123456 would be ABCDEF

    Hope this helps

    Phill Carter

    --------------------

    Colt 45 - the original point and click interface

    --------------------
    Colt 45 - the original point and click interface

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply