Feature #294
Link na test znahodnit cislo = ztizit uhodnuti
Status: | Resolved | Start date: | 09 December 2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Tomáš Kulhánek | % Done: | 100% | |
Category: | - | Spent time: | 3.00 hours | |
Target version: | Psychotest2 | |||
Story points | - | |||
Velocity based estimate | - |
History
#1 Updated by Tomáš Kulhánek over 8 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
fixed
encoding using multiplicative inverse if (x * y) % m 1, then (x * z * y) % m z % m for any positive integer z
x=387419, y=708179, m=1000000,
http://stackoverflow.com/questions/8554286/obfuscating-an-id
test deployment: http://physiome.lf1.cuni.cz/psychoacoustictest16