Message150706
"Given that a user has an application with an oracle function that returns the hash of a unicode string, an attacker can probe tenth of thousand one and two character unicode strings. That should give him/her enough data to calculate both seeds. hash("") already gives away lots of infomration about the seeds, too."
Sorry, but I don't see how you compute the secret using these data.
You are right, hash("\0") gives some information about the secret. With my patch, hash("\0")^1 gives: ((prefix * 1000003) & HASH_MASK) ^ suffix.
(hash("\0")^1) ^ (hash("\0\0")^2) gives ((prefix * 1000003) & HASH_MASK) ^ ((prefix * 1000003**2) & HASH_MASK). |
|
Date |
User |
Action |
Args |
2012-01-06 01:09:48 | vstinner | set | recipients:
+ vstinner, lemburg, gvanrossum, barry, georg.brandl, terry.reedy, jcea, pitrou, christian.heimes, benjamin.peterson, eric.araujo, Arfrever, v+python, alex, dmalcolm, Mark.Shannon, Zhiping.Deng, Huzaifa.Sidhpurwala, PaulMcMillan |
2012-01-06 01:09:47 | vstinner | set | messageid: <1325812187.85.0.130998974385.issue13703@psf.upfronthosting.co.za> |
2012-01-06 01:09:47 | vstinner | link | issue13703 messages |
2012-01-06 01:09:47 | vstinner | create | |
|