随机加密_随机艺术和加密圣诞树

随机加密

When I first learned how to code, one of my first tasks was setting up an SSH key so I could use encryption to securely connect to my friend’s Linux server.

当我第一次学习如何编码时,我的第一个任务是设置SSH密钥,以便可以使用加密功能安全地连接到朋友的Linux服务器。

I ran the command:

我运行了命令:

ssh-keygen -t rsa

Then my computer created my SSH keys and spat out this “randomart”:

然后,我的计算机创建了我的SSH密钥并吐出了这个“ randomart”:

“What is this?” I asked, squinting at the randomart and trying to bring order out of the chaos.

“这是什么?” 我问了一下,斜眼看着随机艺术品,试图使秩序摆脱混乱。

My friend leaned over my shoulder and said, “Oh, that’s a randomart. It looks like you got a cute little cryptographic Christmas tree.”

我的朋友俯身在我肩膀上说:“哦,那是一种随机艺术。 看来您有一棵可爱的加密圣诞树。”

I kind of squinted and turned my head. Sure enough, it did look like kind of like a Christmas tree!

我有点斜眼,转过头。 果然,它的确看起来像圣诞树!

It turns out these randomart are quite useful. As jumbled as they may appear, they’re a lot easier for humans to differentiate between than long strings of hex code.

事实证明,这些randomart非常有用。 尽管看起来很混乱,但与长串的十六进制代码相比,它们更容易使人区分

Compare these two randomart:

比较这两个randomart:

+--[ RSA 2048]----+|        .        ||       + .       ||      . B .      ||     o * +       ||    X * S        ||   + O o . .     ||    .   E . o    ||       . . o     ||        . .      |+-----------------+
Versus:
+--[ RSA 2048]----+|       .o o..    ||       o +Eo     ||        + .      ||         . + o   ||        S o = * o||           . o @.||            . = o||           . o   ||            o.   |+-----------------+

Now try comparing these two strings of hex code:

现在尝试比较这两个十六进制代码字符串:

2048 1b:b8:c2:f4:7b:b5:44:be:fa:64:d6:eb:e6:2f:b8:fa 192.168.1.84 (RSA)
Versus:
2048 1b:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 192.168.1.84 (RSA)

See what I mean? Therefore randomart. QED.

明白了吗? 因此是randomart。 QED。

奇怪的假期传统 (A strange holiday tradition)

Fast forward to last week. Michael D. Johnson was trying to convince me that our open source community should design an ugly sweater for the holidays.

快进上周。 迈克尔·D·约翰逊 ( Michael D. Johnson )试图说服我,我们的开源社区应该为假期设计一件丑陋的毛衣。

I’d never owned an ugly sweater except for one my aunt had knitted for me. And I didn’t even realize that it was an ugly sweater until years later, when I was flipping through my grandma’s scrapbook and encountered horrifying picture of myself wearing it.

除了姨妈为我编织的一件毛衣,我再也没有丑陋的毛衣了。 直到几年后,当我翻阅祖母的剪贴簿并遇到自己穿着它的恐怖照片时,我什至没有意识到这是一件丑陋的毛衣。

Still, Michael convinced me that ugly sweaters were indeed a thing.

迈克尔仍然使我相信丑陋的毛衣确实是一件大事

“People throw ugly sweater parties!” he told me. “You put on the ugliest Christmas sweater you can find, then go drink eggnog together!”

“人们扔丑陋的毛衣派对!” 他告诉我。 “你穿上了你发现的最丑陋的圣诞毛衣,然后一起去喝蛋酒 !”

A quick Google search confirmed he was right. I had been living in a bubble all these years, and had missed out on the splendor of ugly sweater parties.

快速的Google搜索确认他是正确的。 这些年来,我一直生活在泡沫之中,错过了丑陋的毛衣派对的辉煌。

设计丑陋的毛衣 (Designing the ugly sweater)

So I brainstormed for a while. What was the ugliest thing I could imagine related to programming? Minified CSS? A C++ stack trace?

所以我集思广益了一段时间。 我能想到的与编程有关的最丑陋的事情是什么? 缩小CSS? C ++堆栈跟踪?

That’s when I remembered my first SSH key randomart, and my friend’s comment about how it looked like a Christmas tree.

那时,我想起了我的第一个SSH密钥randomart,以及我朋友关于它像圣诞树的评论。

I hopped on the phone with Wesley Searan, a graphic designer in Austin, Texas. Wesley and I threw design ideas back and forth for a few days.

我和德克萨斯州奥斯汀的平面设计师韦斯利·西兰 ( Wesley Searan)跳了起来 。 韦斯利和我来回提出了几天的设计思想。

I did the agile thing and tweeted out a rough draft of our design to get feedback from our community.

我做了敏捷的事情,并在推特上发布了我们设计的草稿,以获取社区的反馈。

People wanted us to remove the XMAS 2016 (which I’d used in place of the RSA 2048) so they could wear the sweater subsequent holidays. And they wanted T-shirts and hoodies as well. So we made those available.

人们希望我们删除XMAS 2016(我用它代替了RSA 2048),以便他们可以在随后的假期穿这件毛衣。 他们也想要T恤和帽衫。 因此,我们使这些可用。

As always, we made these assets creative-commons licensed, and put them up on Free Code Camp’s assets repo for everyone to play with.

与往常一样,我们使这些资产具有创意-常见许可,并将其放入Free Code Camp的资产回购库中 ,以供所有人使用。

Here’s what the finished sweater looks like, complete with cheesy background:

这是成品毛衣的样子,带有俗气的背景:

So now you can throw your ugly Christmas sweater party, or just wear one to family gatherings. You’ll be the geekiest-looking person there (which is a good thing!) in your awesome SSH key randomart ugly sweater.

因此,现在您可以举办丑陋的圣诞毛衣派对,或者只穿一件参加家庭聚会。 您将成为您真棒的SSH key randomart丑陋毛衣中最可爱的人(这是一件好事!)。

These will be available in our community’s shop for the next few days, so pick one up.

这些将在接下来的几天内在我们社区的商店中提供,因此请选择一个。

Happy encrypting!

加密愉快!

Thanks for taking time out of your busy day to read my article. If you liked it, click the ? below so other people will see this here on Medium.

感谢您抽出宝贵时间来阅读我的文章。 如果喜欢,请单击“?”。 下面,以便其他人可以在Medium上看到。

翻译自: https://www.freecodecamp.org/news/the-geekiest-ugly-sweater-ever-34a2e591483f/

随机加密

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值