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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Which 2 way encryption method is this?

3 点作者 Syama超过 15 年前
which 2 way encryption method is this?<p>encrypted KWcClMPHGsHWy6o8VV1/2I3zv8pENqfujwb3PFHG8sU=<p>unencrypted 4301542003347407

2 条评论

mbrubeck超过 15 年前
Whatever it is, the encrypted version is Base64-encoded. Here's a hexdump without the Base64 encoding.<p><pre><code> 00000000 29 67 02 94 c3 c7 1a c1 d6 cb aa 3c 55 5d 7f d8 |)g.........&#60;U]..| 00000010 8d f3 bf ca 44 36 a7 ee 8f 06 f7 3c 51 c6 f2 c5 |....D6.....&#60;Q...| </code></pre> The decoded ciphertext is 32 bytes (256 bits), while the plaintext is 16 bytes (128 bits). I think this suggests a 256-bit block cipher. (Or maybe 128-bit block, especially if the input included a trailing newline or something?) That doesn't narrow it down all that much, and if you don't have the key I'm not sure it's possible to narrow it down any further.
bdfh42超过 15 年前
If it is encrypted then you will need to include the key - or do you think this is a hash?