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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Is the “Matryoshka Cipher” possible to write and implement?

1 点作者 christianbryant大约 10 年前
Named after the Russian nesting dolls (a physical representation of the hidden data and the layers of encryption surrounding it) one example of the Matryoshka cipher would be the &quot;Zvyozdochkin set&quot; where six levels of encryption protect the central data core:<p>1. Outer level (Bergenia) is decrypted with key #1 to reveal the next layer.<p>2. Next inner level (ciliata) is decrypted with key #2 to reveal the next layer.<p>3. Next inner level (crassifolia) is decrypted with key #3 to reveal the next layer.<p>4. Next inner level (cordifolia) is decrypted with key #4 to reveal the next layer.<p>5. Next inner level (emeiensis) is decrypted with key #5 to reveal the next layer.<p>6. Next inner level (ligulata) is decrypted with key #6 to reveal the data.<p>The idea would be that each key would come from a different key chain, be of a different size and would not be allowed to have the same credentials as any other key.<p>How would a model like this be set up from both a mathematical standpoint and in code?

暂无评论

暂无评论