TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby yasuocidalalmost 2 years ago
Hi, i like python a lot and i dont like JWT so when i needed a tokenization method, i tried making my own.<p>Missinputed the link :( <a href="https:&#x2F;&#x2F;github.com&#x2F;YasTouchedMySpaggett&#x2F;Fernet_Tokenization">https:&#x2F;&#x2F;github.com&#x2F;YasTouchedMySpaggett&#x2F;Fernet_Tokenization</a> here&#x27;s the correct one<p>I would love some feedback on it : )

1 comment

quickthrower2almost 2 years ago
Line 40 I would prefer not to concat to make SQL strings incase the code is modified to include untrusted text in the future.<p>I don’t know what this does, I assume something like JWT? But why hate JWT?<p>The old adage of don’t roll your own crypto applies (unless you know enough to break that rule)
评论 #36904478 未加载