4 ms·
One key for all tokens or one key per token? If it’s the latter a simple XOR would do because it would be the equivalent of a one time pad.
by nindalf 3y ago
One key for all tokens or one key per token? If it’s the latter a simple XOR would do because it would be the equivalent of a one time pad.
- robertlagrant 3y agoI don't think it can be a key per token, or it will scale appallingly.
- Nevermark 3y agoOne key per token would require a table matching internal tokens to their key for forward conversion, and another table matching external keys to their key for reversing. Might as well just use randomly generated external keys and have one table if you were doing that. So, one key per all tokens.