| ▲ | fluoridation 3 hours ago | ||||||||||||||||||||||||||||||||||||||||
In that case just use CTR mode, no? | |||||||||||||||||||||||||||||||||||||||||
| ▲ | tptacek 17 minutes ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
https://www.cs.ucdavis.edu/~rogaway/papers/thorp.pdf (Not that this is the only solution but that it motivates the problem of why you can't just naively apply AES to the problem). | |||||||||||||||||||||||||||||||||||||||||
| ▲ | 201984 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||
In the context of encrypting 32 or 64 bit IDs, where there is no nonce, that'd be equivalent to XOR encryption and much weaker than TFA's small block ciphers. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| ▲ | Joker_vD 3 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
Some people just itch to use something custom and then to have to think about it. Which can bring amazing results, sure, but it can also bring spectacular disasters as well, especially when we're talking about crypto. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||