Re: triple algorithms



the layer i wrote uses a passphrase which is used to generate a passcode
equal to the length of m, i wont go into detail on how this passcode is
produced because it's long and boring.

http://en.wikipedia.org/wiki/Key_strengthening

http://www.google.com/search?q=key+strengthening+passphrase


yes i know about key stretching, but that's the least significant part of
the KDF that i mashed together.

essentially all i am doing for my KDF to produce l(passcode) == l(m), where
l(m) is always a multiple of 64

s = hex(random salt)
permutate s
salt = hex to decimal(s)
K' = sha512(passphrase & salt)

for i = 1 to n
if K' is unique
perumate K'
K= K & K'
sbox(salt)
K' = sha512(K' & salt)
else
s = hex(salt)
permutate s
salt = hex to decimal(s)
K' = sha512(K' & salt)
permutate K'
K = K & K'
fi
rof


.



Relevant Pages

  • AE implementation scheme for multi volume files
    ... volume files *using a single user provided password*, ... sample enthropy from the system to generate an unique salt ... write the volume header, declaring how to configure the application ... initialise the AE function (using a robust standard kdf, ...
    (sci.crypt)
  • Re: my KDF vs dictionary attacks
    ... you encrypt the salt, but the key seems to be derived from the ... not really because only a copy of the salt is passed to the KDF, ... argument, by default it is by reference, as in the value that is in the ... memory location is referenced and copied into a new memory location. ...
    (sci.crypt)
  • Re: my KDF vs dictionary attacks
    ... salt space, but the pass-phrase gives away the salt. ... how can the passphrase give away the salt when the salt is created by an RND ... dictionary attack, not the twofish key proceedure, the actual KDF which i ...
    (sci.crypt)
  • Re: my KDF vs dictionary attacks
    ... salt space, but the pass-phrase gives away the salt. ... how can the passphrase give away the salt when the salt is created by an RND and the pass-phrase is user generated? ... and i still dont have an answer as to how the KDF would fare against a dictionary attack, not the twofish key proceedure, the actual KDF which i posted for you to peruse ...
    (sci.crypt)