encryption question



Hi,

I would like to use an encryption method where no record of the secret key
is kept. (If the correct key is supplied the data will be unencrypted
correctly otherwise a meaningless stream will be returned.)
But how to know if the user has entered the correct password?

If I keep a "test" string stored somewhere, where I know what this string
value should be when unencrypted, will this comprimise security? IOW, if a
hacker has access to an encrypted string and knows what the unencrypted
value of this string is, can he work out the secret key?

I would like to know if the answer to this question depends on algorithm
used (i.e. public/private key pair or straightforward encryption
(blowfish?)). I will probably be using an encryption method from freeware
components streamsec or DCPCrypt.

Thanks alot to any advice,

Rael


.



Relevant Pages

  • Re: .NET encryption
    ... I've tried this at home .NET2.0 and it seems to give me a string that will ... a basic encryption on strings passed to it. ... /// A class that uses the Rijndael encryption method to encrypt or decrypt ... bytebyteKey; ...
    (microsoft.public.dotnet.framework)
  • Re: socketServer questions
    ... clients have to keep the key secure. ... > I'm trying to keep script kiddies from tampering with a socket server. ... > want the server to only load a valid or verified string into its log ... If the clients can keep a secret key secure, ...
    (comp.lang.python)
  • Re: Digesting hex instead of binary?
    ... Say you're building a zero knowledge authentication system by digesting a ... If the secret key is digested while in hex instead of in binary, ... do you have a string that consists of either ...
    (sci.crypt)
  • Re: Encrypt a string to a string and vice versa
    ... > fine (at least I don't get an exception anywhere, if the string is ... > converting the result of my previously mentioned encryption method using ... You didn't get an exception, but you didn't get the right ...
    (microsoft.public.dotnet.languages.csharp)