Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Encrypting Credit card numbers

by spacewarp (Pilgrim)
on Apr 23, 2001 at 07:33 UTC ( #74638=note: print w/ replies, xml ) Need Help??


in reply to Encrypting Credit card numbers

I freely admit that I have no experience encrypting sensitive data, but as I read through the responses on this thread, a rather queer idea occurred to me:

Would would everyone think of a system whereby the user chooses a password when then enter their CC#. On the server, that password in encrypted using crypt() or some similar one-way encryption, and then the line of gibberish that is the encrypted password is used as the key for the encryption on the actual CC#. That way, the numbers can be stored on the server, while the keys aren't.

Would something like this work?

Spacewarp

DISCLAIMER:
Use of this advanced computing technology does not imply an endorsement
of Western industrial civilization.


Comment on Re: Encrypting Credit card numbers
Re: Re: Encrypting Credit card numbers
by petethered (Pilgrim) on Apr 23, 2001 at 08:45 UTC
    Not really a secure option since if the code gets read you can figure out how to generate the key.

    Pete

    insert into pete values('red hair','near green eyes','overinflated ego');

Re: Re: Encrypting Credit card numbers
by turnstep (Parson) on Apr 23, 2001 at 15:25 UTC

    This would also not address the original problem of having automated, recurring transactions with no card-owner interaction. You can scramble the credit card numbers eight ways till Tuesday, but at some point, they must be unscrambled and sent to the bank.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2014-10-02 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (49 votes), past polls