lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 10 Sep 2014 22:55:53 -0500 (CDT)
From: Steve Thomas <>
Subject: Makwa is broken given p and q

Given p and q you can do:
e  = 2 ** cost
e' = 2 ** cost (mod (p-1)*(q-1))
x ** e = x ** e' (mod p*q)

You could pick the cost to be 2 ** 128. Without p and q you can't test a
powConst = powm(2, pow(2, 128), (p-1)*(q-1))
hash = powm(password, powConst, p*q)
but you could just do HMAC(password, secretKey)

Sorry but even if you came up with the perfect server-specific shortcut, HMAC or
encryption with a secret key is better.

If you don't know the secret, it takes 3x longer.
If you don't know the secret, you can't do anything.

Powered by blists - more mailing lists