Hacker News new | past | comments | ask | show | jobs | submit login

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.



One 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.


I don't think it can be a key per token, or it will scale appallingly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: