TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

2 点作者 yasuocidal将近 2 年前
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

quickthrower2将近 2 年前
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 未加载