Re: encryption question



Rael wrote:
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?

...

Create a hash value of the password. (encrypted text value of the password)

When the user provides the password the password is encrypted and compared to the hash value you created for the password via the encryption algorithm.

See MD5 algorithm for example.

Some components.

http://sourceforge.net/projects/tplockbox/

To secure your exe from being cracked you may want to secure it with

http://www.ionworx.com/securecode.html

Siegfried
.



Relevant Pages

  • RE: Remote Desktop vs VPN on Windows 2003
    ... Unfortunately the phrase "weak encryption algorithm" is only slightly ... Is it good enough to secure a user remotely accessing their ... because its encryption algorithm is weak. ...
    (Security-Basics)
  • Re: TrueCrypt 4.0 Out
    ... >> secret key, then he doesn't have to use disk encryption at all. ... I suspect there are all sorts of ways that chosen-plaintext ... patents, licenses or royalties of any kind. ...
    (sci.crypt)
  • Re: Hashed PWs more secure than encrypted PWs?
    ... >>Can anybody explain how is it that hashing is more secure than ... >>attack to get the encryption key. ... stated above which is that the secret key could be stolen. ...
    (comp.security.unix)
  • Re: Hashed PWs more secure than encrypted PWs?
    ... >>Can anybody explain how is it that hashing is more secure than ... >>attack to get the encryption key. ... stated above which is that the secret key could be stolen. ...
    (comp.security.unix)
  • Re: whats the difference between Encryption and Encoding ? or both are same ?
    ... > and decryption use a secret key. ... Another widely used definition is that encoding transforms semantic ... Encryption, on the other hand, transforms individual "characters" ... there are overlaps between the two usages. ...
    (sci.crypt)