Re: Which is more secure RC2 or RC4 ?
- From: Volker Hetzer <firstname.lastname@xxxxxxxx>
- Date: Sun, 16 Jul 2006 11:11:33 +0200
Homer Simpson wrote:
Since I'm working on a web application in an ASP environment, I'm usingHad a look. Doesn't look good to me at all.
an ActiveX component called AspEncrypt to apply encryption to the
information, and as such I used a lot of the material on the AspEncrypt
website for reference, such as the case with the "saving the key to a
remote place in the registry" example given earlier, which I got from:
http://www.aspencrypt.com/task_creditcard.html
We can, today, reasonably crack 64bit keys. Knowing that a 128bit key is on
It seemed reasonable, since the registry is so vast, even if someone
were to get a copy of it, it's like finding a needle in a hay stack...
a, say, 500GB HD reduces the keyspace to 35 bit. Less, if the keystring is longer.
Basically I am working on an web-based online service which allowsI would not do it like this. I'd keep the credit card numbers in memory
users to buy a subscription to this 'service', using a secure online
form (SSL 128 bit) to place the order with their credit card. The user
information is then stored in a database table (e.g Name, Address,
Personal info etc.) on a permanent basis. Whereas the billing
information (i.e Credit card info) is stored on another table in the
same database temporarily, until the order is approved manually and the
credit card has been billed (via 3rd party), at which point the credit
card information is automatically deleted from the database.
only and use ssl to communicate with the application keeping that
memory. Or, if windows offering some authenticated IPC, I'd use that.
That way, database hacking and media theft are covered (swap needs to be
taken care of).
If by MSSQL you mean SQLServer by microsoft, they got a security concept
Now, what I wish to do is apply encryption to ALL of the information
(whether it's personal or financial) so that in the event that the
database is somehow hacked (the database being MSSQL),
on their own, complete with infrastructure and guidelines for safe
use. Btw, they store the ENCRYPTED key in the registry and use a special
API (DPAPI) for it.
I strongly suggest you look up Microsofts default way of encrypting data
with SQL Server 2005:
http://msdn2.microsoft.com/en-us/library/ms189586.aspx
and go from there. SQLServer 2005 offers AES too.
If you want to convert your own working hours into security, I'd stop
bothering about encryption, use microsoft's stuff for that and spend
my time on securing the other aspects of your system, like DMZs,
physical security, LAN security, access control and all the other stuff.
What I want to be clear about is how exactly does a password driven keyNo, the point of the hash is to concentrate entropy. If, for instance,
work in comparison to a random key.. please see if I got this right:
When decrypting some text using a random key, all you need is the key
itself in order to decrypt the information, whereas when you decrypt
text using a password driven key, having the key is not enough, you
need to match it with the correct password in order for the decryption
to work.
you want a 128bit key, you throw a dice 50 times and get a 400 bit
ascii string. This you can concentrate into a 128 or 160 bit hash
usable for the encryption algorithm.
Or, in short, a hash turns a passphrase into a key which is random at the
bit level. If you can generate such keys on your own you don't need the hash.
Lots of Greetings!
Volker
--
For email replies, please substitute the obvious.
.
- Follow-Ups:
- Re: Which is more secure RC2 or RC4 ?
- From: Mike Amling
- Re: Which is more secure RC2 or RC4 ?
- From: TC
- Re: Which is more secure RC2 or RC4 ?
- References:
- Which is more secure RC2 or RC4 ?
- From: Homer Simpson
- Re: Which is more secure RC2 or RC4 ?
- From: Tom St Denis
- Re: Which is more secure RC2 or RC4 ?
- From: rossum
- Re: Which is more secure RC2 or RC4 ?
- From: Homer Simpson
- Re: Which is more secure RC2 or RC4 ?
- From: Joseph Ashwood
- Re: Which is more secure RC2 or RC4 ?
- From: Homer Simpson
- Which is more secure RC2 or RC4 ?
- Prev by Date: Re: Key exchange
- Next by Date: Re: Key exchange
- Previous by thread: Re: Which is more secure RC2 or RC4 ?
- Next by thread: Re: Which is more secure RC2 or RC4 ?
- Index(es):
Relevant Pages
|
|