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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What data format does this look like?

2 点作者 ciderpunx大约 8 年前
Trying to figure out my local bus company&#x27;s ticketing system.<p>Here&#x27;s one of the fields on it, anyone know what it might be?<p>P08pxI+q7abfvq3LIwspLRy&#x2F;EWQ=

3 条评论

niftich大约 8 年前
It looks like a base64-encoded 20-byte value, which decodes to:<p>3f 4f 29 c4 8f aa ed a6 df be ad cb 23 0b 29 2d 1c bf 11 64<p>The length of a SHA-1 digest is 160 bits = 20 bytes. This does not <i>at all</i> conclusively mean this value may be a SHA-1 digest, but 160 bits is not a length of value that&#x27;s customarily used for random nonces, random identifiers, and the like. I recommend you suppose it&#x27;s a SHA-1 digest and work from there.
Communitivity大约 8 年前
This is some binary Base64 encoded, would be my guess. This is because of the combination of characters and the = at the end.
smotts大约 8 年前
That looks like the text left behind when I got hacked.