Re: Encryption newbie - Same length encrypted result
From: Joseph Ashwood (ashwood_at_msn.com)
Date: 10/22/05
- Next message: Quantum Mirror: "Re: An Almost Function Website! (was cipher)"
- Previous message: Joseph Ashwood: "Re: advice sought on key/data histogram analysis of rijndael/128 and serpent"
- In reply to: mminnie_at_minniebyte.com: "Re: Encryption newbie - Same length encrypted result"
- Next in thread: TC: "Re: Encryption newbie - Same length encrypted result"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 22 Oct 2005 00:55:50 GMT
<mminnie@minniebyte.com> wrote in message
news:1129935789.332412.272350@g49g2000cwa.googlegroups.com...
> How safe is saving this anyway? I plan to have a server side DLL that
> encrypts/decrypts the CC data. This will have a secret key hardcode.
> The resulting database values will be encrypted and somewhat safe, but
> if someone gets the DLL, they can easily decrypt the data. Right? I
> can probably safe guard the DLL to only have it work on a certain
> server, but then someone could always reverse engineer the DLL and get
> to the secret key that way.
>
> Am I missing something here?
You're not missing anything, the design will generally be insecure. One way
to help it some would be to use an admin supplied passphrase to generate the
actual secret key, don't know how usable this is for you. For security it is
important to place a kernel of trust someplace, and the actual location is
extremely important, so much so that in extreme security designs the kernel
is spread across several believed secure locations (e.g. human brain,
smartcard, and central server are required to get the decryption key). What
you've stumbled onto has been called "the only real security problem" key
management, and it is very difficult to do correctly and securely.
Joe
- Next message: Quantum Mirror: "Re: An Almost Function Website! (was cipher)"
- Previous message: Joseph Ashwood: "Re: advice sought on key/data histogram analysis of rijndael/128 and serpent"
- In reply to: mminnie_at_minniebyte.com: "Re: Encryption newbie - Same length encrypted result"
- Next in thread: TC: "Re: Encryption newbie - Same length encrypted result"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|