Re: 2 Keys decrypts same message

From: 小葉南洋杉 (john65537_at_yahoo.com.tw)
Date: 07/08/03


Date: 7 Jul 2003 20:47:55 -0700

Another idea for this interesting question.

Let each user's row D be encrypted by the hash of his/her password H(P),
call the cipher as C1,
also encrypt H(P) with the master key K_m, call this cipher as C2.

Thus, DB stores two ciphers, C1 and C2.

Most of the time, a user provides correct password P, and decrypt
C1 with the key H(P) to retrieve D.

When a user forgets P, K_m can be used to decrypt C2
and get the encryption key H(P) to decrypt & retrieve D.



Relevant Pages

  • Re: CryptAnalysysts Stuff: Please try to decrypt the message.
    ... The message is encrypted with ONE TIME PAD. ... >> the strength of its cipher. ... RSA key formats when they see it, either in radix64 or binary format, but I ... used a One Time Pad to encrypt with, which could mean a True One Time Pad ...
    (sci.crypt)
  • Re: A basic cryptanalysis question
    ... If I encrypt a 1 byte message ... a ONE BYTE CIPHER TEXT FILE. ... smart enough to use BICOM with its 256 bit encryption key. ... Yes there are keys to decrypt it to one byte of plain text. ...
    (sci.crypt)
  • Re: "incrementing" ecb mode
    ... > a block in the middle of the file without affecting the CRC. ... They would have to know the key used to encrypt the block and the key used ... The rekeying isn't a problem. ... cipher used to encrypt the plaintext. ...
    (sci.crypt)
  • im still trying to get the grips of monoalphabetic substitution.
    ... Now one exercise is to create a keyword cipher. ... now I'm writing a program to do this, encrypt and decrypt. ... the key letter from the cipher letter and i would have my plaintext back, ...
    (sci.crypt)
  • Re: Warlock ClearText Cipher
    ... reversible transformation. ... This is more drifting into crytosystem, rather that cipher analysis. ... the Warlock description should not have step 6: ID strings and the like are ... > reused to encrypt two PlainText, ...
    (sci.crypt)