Wednesday, April 29, 2009

Review of some entries to the NIST Cryptographic Hash competetion

MD6 :
tree based : merkle tree
serial or parallel
key : use the key to attack : extension attacks
variable rounds
root bit


blake :
Uses HAifa
Salts counters,
CF : ChaCha stream cipher,



Spectral :
GF(2x4)
DFT
augmented MD
state prism/permutation prism
3D : DFT
rubics rotation


SKein bruce schniedr

Three sh. tweakable block cipher , key /tweak / counter.
Unique Block Iteration (UBI). UBI is a chaining mode that maps an arbitrary input size to a fxed output size.

Optional Argument System.
key, nonce, message, public key,
tree hashing



ECHO henri gilbert
AES , hardware accelaration
message _ salt


Dynamic SHA
Rotoate right operation



HAIFA : Hash iterative framework :
modifies the MD paradigm.
fix points.
getting input before output.
add a block index/current count bits to CF : protect against 2nd pre image.
protect againt message expansion
Variable hash size


need to understand attacks
Security proofs ,

10 Easy steps to manage your time effectively

1)Spend the time for planning&organizing
2)Set Goals
3)Prioritise (80/20 Rule)
4)Use “To do” List
5)Be flexible
6)Eliminate the urgent
7)Practise the art of intelligent neglect.
8)Avoid being a perfectionalist
9)Conquer Procrastination
10)Learn to say “NO”

Tuesday, April 7, 2009

MD5

In what’s referred to as a Merkle-Damgard construction, MD5 starts with an arbitrary initial state 128 bits in length. 512 bits of input data are ”stirred” into this 128 bit state, with a new, massively shuffled 128 bit value as the result. 512 more bits are constantly stirred in, over and over, until there’s no further data. 64 bits more are appended to the data stream to explicitly reflect the amount of data being hashed with another round of MD5 being done if need be (if there wasn’t enough room in a previous round to hash in that 64 bits), and the final 128 bit value after all the stirring is complete is christened the MD5 hash.

hash attacks

there is a well known failure mode to the this particular construction: If at any point in the cascade two different datasets are stirred into equal 128 bit values, arbitrary data can be appended to both datasets and their hashes will remain equal.

Once two deviant datasets collide to the same 128 bit value, anything added on after the fact is too late – MD5 may be a chaotic and nonlinear function, but from the same seed, the chaotic linearity between the two datasets will remain forever synchronized with the early difference forever cloaked.
Attacks on Hash functions

Generic
Length Extension Attacks
Joux Attacks
Long-Message 2nd preimage Attacks
Herding attack


Collision attacks on specific algorithms. MD4/5, RIPEMD, SHA-0/1
Near Collision on reduced versions of SHa-256
2nd preimage attack on MD4


Collision Attack Type 1 collison using IV specified in the spec for two distinct messages Wang et al.

Semi-Free-start collision attack
Type 2 : use same random IV for 2 distinct inputs

Pseudo Collison attack :
Two different IVs