from Hacker News

Show HN: My own tokenization method in Python, open to feedback

by yasuocidal on 7/28/23, 8:26 AM with 2 comments

Hi, i like python a lot and i dont like JWT so when i needed a tokenization method, i tried making my own.

Missinputed the link :( https://github.com/YasTouchedMySpaggett/Fernet_Tokenization here's the correct one

I would love some feedback on it : )

  • by quickthrower2 on 7/28/23, 8:48 AM

    Line 40 I would prefer not to concat to make SQL strings incase the code is modified to include untrusted text in the future.

    I don’t know what this does, I assume something like JWT? But why hate JWT?

    The old adage of don’t roll your own crypto applies (unless you know enough to break that rule)