To all,
Just to make sure I understand before we code, two options are available
per instance (I am also not taking into consideration multiple instances
when the hash bit count is smaller than the required key length). Consider
the two options:
1) A simple salt + iteration:
count=20 bytes
salt=12 bytes
pass phrase=12 bytes
from this, we simply do:
hash (salt + pass phrase)
where:
salt=12 bytes
pass phrase=12 bytes
2) A concatenated salt + iteration:
count=40 bytes
salt=12 bytes
pass phrase=12 bytes
from this, we simply do:
hash(salt(0) + pp(0) + salt(1) + pp(1))
where:
salt(0)=12 bytes
pass phrase (0)=12 bytes
salt (1)=12 bytes
pass phrase(1)=left 4 bytes of the 12 byte pass phrase
Is this correct, or have I got it wrong?
TIA.
Regards
Erron Criddle
Comasp Ltd.
ACN: 089 468 682
Level 2, 45 Stirling Hwy
NEDLANDS WA 6009
Australia
Fax: +61 8 9386 9473
Tel: +61 8 9386 9534
Mob: +414/0414 800 888
ejc(_at_)comasp(_dot_)com
http://www.comasp.com