-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Googling for
ASP AES
I found several promising results.
- --
Skype: cannona
MSN/Windows Messenger: [EMAIL PROTECTED] (don't send email to the hotmail
address.)
- ----- Original Message -----
From: "Neil Tompkins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <mysql@lists.mysql.com>
Sent: Tuesday, March 13, 2007 3:45 AM
Subject: Re: ENCODE() and DECODE()
I'm using ASP. Do you know any resources that I could use ?
From: "Wm Mussatto" <[EMAIL PROTECTED]>
To: "Neil Tompkins" <[EMAIL PROTECTED]>
Subject: Re: ENCODE() and DECODE()
Date: Mon, 12 Mar 2007 15:27:26 -0700 (PDT)
On Mon, March 12, 2007 15:05, Neil Tompkins said:
> Do you think these functions would be ideal for my requirements in
> terms
> of
> encrypting credit card numbers when stored in a database ?
>
Actually, no. If you are working a language like perl look at encoding
the information and then storing it. I think encode and decode are too
weak.
in perl I use use Crypt::CBC; and then picked a strong cypher. If you use
perl, please go to cpan.org for the details. BTW the reason for using
blob type it to avoid truncation. After its encoded removing trailing
spaces is a BAD THING.
Bill
>
>
>>From: "Wm Mussatto" <[EMAIL PROTECTED]>
>>To: "Neil Tompkins" <[EMAIL PROTECTED]>
>>CC: mysql@lists.mysql.com
>>Subject: Re: ENCODE() and DECODE()
>>Date: Mon, 12 Mar 2007 13:54:41 -0700 (PDT)
>>
>>On Mon, March 12, 2007 13:04, Neil Tompkins said:
>> > Sorry Bill, I'm unsure what you mean by bin
>>My error, too early in the morning here 'blob'
>> >
>> >>From: "William R. Mussatto" <[EMAIL PROTECTED]>
>> >>To: mysql@lists.mysql.com
>> >>Subject: Re: ENCODE() and DECODE()
>> >>Date: Mon, 12 Mar 2007 10:31:53 -0700 (PDT)
>> >>
>> >>On Mon, March 12, 2007 8:04, Neil Tompkins said:
>> >> > I've been researching the best method to store credit card
>> >> > numbers
>> in
>> >> a
>> >> > database which are saved encrypted. My version of mysql is 3.23
>> >>therefore
>> >> > I
>> >> > think the only function I could use is
>> >> >
>> >> > ENCODE() and DECODE().
>> >> >
>> >> > I've tried these functions and they appear to work as I want.
I've
>> a
>> >> > couple
>> >> > of questions though, can I use varchar when saving the data and
are
>> >>these
>> >> > functions suitable for my requirements ?
>> >> >
>> >> > Thanks,
>> >> > Neil
>> >>use 'Bin' versions of fields since the encoded data may be binary.
>> >>
>> >>Bill
>> >>
>> >>
>> >>--
>> >>MySQL General Mailing List
>> >>For list archives: http://lists.mysql.com/mysql
>> >>To unsubscribe:
>> >>http://lists.mysql.com/[EMAIL PROTECTED]
>> >>
>> >
>> > _________________________________________________________________
>> > Txt a lot? Get Messenger FREE on your mobile.
>> > https://livemessenger.mobile.uk.msn.com/
>> >
>> >
>>
>>
>
> _________________________________________________________________
> Solve the Conspiracy and win fantastic prizes.
> http://www.theconspiracygame.co.uk/
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
>
>
_________________________________________________________________
Get Hotmail, News, Sport and Entertainment from MSN on your mobile.
http://www.msn.txt4content.com/
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32) - GPGrelay v0.959
Comment: Key available from all major key servers.
iD8DBQFF9rLrI7J99hVZuJcRA9CdAKCBhJ+do8Y3ouGozoBYdTnNR/py+QCgvYTs
YCKVLb0a7gkZPbNy73WtH2k=
=O8xx
-----END PGP SIGNATURE-----
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]