隨機加密_隨機藝術和加密圣誕樹

隨機加密

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/

隨機加密

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/396054.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/396054.shtml
英文地址,請注明出處:http://en.pswp.cn/news/396054.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

用c語言編寫一個2048 游戲,求c語言編寫的2048游戲代碼,盡量功能完善一些

正在編寫中,請稍后!追答 : 代碼來了!有點急,沒做界面。追答 : 2048_launcher。c:#include#include#includevoid main(){printf("正在啟動中,請稍后!");Sleep(1000);system("bin\…

MySQL之數據庫對象查看工具mysqlshow

mysqlshow:數據庫對象查看工具,用來快速查找存在哪些數據庫、數據庫中的表、表中的列或索引。選項:--count 顯示數據庫和表的統計信息-k 顯示指定的表中的索引-i 顯示表的狀態信息不帶任何參數顯示所有數據庫[rootwww mys…

軟件工程分組

電子零售系統 陳仔祥 孟拓 陳庚 汪力 郭澳林 崔祥岑 劉校 肖宇 武清 胡圣陽轉載于:https://www.cnblogs.com/2231c/p/9960751.html

vnr光學識別怎么打開_干貨|指紋鎖的指紋識別模塊的前世今生,智能鎖的指紋識別到底有多智能?...

智能鎖現在也有很多叫法:指紋鎖、電子鎖。可見指紋識別是智能鎖的核心功能了,那我們今天來聊聊智能鎖的指紋識別模塊。指紋識別的歷史指紋識別認證的流程指紋識別技術的種類指紋識別的歷史早在2000多年前我國古代的人就將指紋用于簽訂合同和破案了&#…

使用Kakapo.js進行動態模擬

by zzarcon由zzarcon 使用Kakapo.js進行動態模擬 (Dynamic mocking with Kakapo.js) 3 months after the first commit, Kakapo.js reaches the first release and we are proud to announce that now it is ready to use. Let us introduce you Kakapo.首次提交3個月后&#…

android ble 實現自動連接,Android:自動重新連接BLE設備

經過多次試驗和磨難之后,這就是我最好讓Android自動連接的唯一用戶操作是首先選擇設備(如果使用設置菜單然后首先配對).您必須將配對事件捕獲到BroadcastReceiver中并執行BluetoothDevice.connectGatt()將autoconnect設置為true.然后當設備斷開連接時,調用gatt.connect().更新&…

萊斯 (less)

less中的變量 1、聲明變量:變量名:變量值 使用變量名:變量名 less中的變量類型 ①數字類1 10px ②字符串:無引號字符串red和有引號字符串"haha" ③顏色類red#000000 rgb() …

hackintosh黑蘋果_如何構建用于編碼的Hackintosh

hackintosh黑蘋果by Simon Waters西蒙沃特斯(Simon Waters) 如何構建用于編碼的Hackintosh (How to build a Hackintosh for coding) Let’s talk about Hackintosh-ing — the installation of Mac OS X on PC hardware.我們來談談Hackintosh-ing-在PC硬件上安裝Mac OSX。 I…

hide show vue 動畫_(Vue動效)7.Vue中動畫封裝

關鍵詞&#xff1a;動畫封裝——進行可復用一、如何封裝&#xff1f;1、使用&#xff1a;局部組件傳遞數據局部組件中使用JS動畫2、原理&#xff1a;將動畫效果完全第封裝在一個名為<fade>的組件中&#xff0c;今后如要復用&#xff0c;只需要復制有其組件名的部分&#…

android項目編譯命令行,命令行編譯Android項目

1. 生成R文件> aapt package -f -m -J ./gen -S res -M AndroidManifest.xml -I D:\android.jar-f 如果編譯生成的文件已經存在&#xff0c;強制覆蓋。-m 使生成的包的目錄存放在-J參數指定的目錄-J 指定生成的R.java 的輸出目錄路徑-S 指定res文件夾的路徑-I 指定某個版本平…

jQuery datepicker和jQuery validator 共用時bug

當我們給一個元素綁定一個datepick后又要對它用validator進行驗證時會發現驗證并沒有成功 因為當點擊該元素時候input彈出datepick的UI就已經失去了焦點它驗證的仍然是前一個值&#xff0c; 不過還好 datepick提供了onSelect 事件我們可以在這個事件觸發的時候重新把焦點在賦給…

《Python地理數據處理》——導讀

前言本書可以幫助你學習使用地理空間數據的基礎知識&#xff0c;主要是使用GDAL / OGR。當然&#xff0c;還有其他選擇&#xff0c;但其中一些都是建立在GDAL的基礎之上&#xff0c;所以如果你理解了本書中的內容&#xff0c;就可以很輕松地學習其他知識。這不是一本關于地理信…

記一次Java AES 加解密 對應C# AES加解密 的一波三折

最近在跟三方對接 對方采用AES加解密 作為一個資深neter Ctrl CV 是我最大的優點 所以我義正言辭的問他們要了demo java demo代碼&#xff1a; public class EncryptDecryptTool {private static final String defaultCharset "UTF-8";private static final String …

zemax評價函數編輯器_ZEMAX與光學設計案例:激光擴束系統詳細設計與公差分析(二)...

目前超過兩千人的光學與光學設計方面的微信公眾號&#xff0c;歡迎您的到來&#xff01;激光擴束系統公差分析ZEMAX與光學設計案例&#xff1a;激光擴束系統詳細設計與公差分析(二)作者&#xff1a;墨子川上10倍擴束系統在上篇已經設計好了&#xff0c;接下來就是進行系統的公差…

決策者根據什么曲線做出決策_如何做出產品設計決策

決策者根據什么曲線做出決策by Tanner Christensen由Tanner Christensen 如何做出產品設計決策 (How Product Design Decisions are Made) Recently in a Facebook group dedicated to designers, known as Designers Guild, a young design student named Marina Candela ask…

移動前端框架重構幾個關鍵問題

1. 是否該廢棄iscroll&#xff1f; 我得出的結論是&#xff0c;是該廢棄了。那當時為什么要用iscroll&#xff1f; 原因有三個&#xff1a; 1. 因為別人也用了。 2. 為了iPhone上頁面滑動更順暢。 3. 為了用上拉、下拉刷新。 關于這三個原因有幾點觀點&#xff1a; 1. 人最容易…

android 內部共享存儲,Android共享內部存儲

我現在面對txt文件的類似情況,并做到了這一點.File downloadedFile new File( context.getFilesDir(),"simple.txt" );downloadedFile.setReadable( true,false );downloadedFile.setWritable( true,false ); //set read/write for othersUri downloadFileUri Uri.f…

UiPath: Selectors repair 選擇器的修復,即被選擇的按鈕發生改變如何選擇第二按鈕...

實現批量注冊用戶功能時&#xff0c;出現第一個用戶注冊完時&#xff0c;彈出確認按鈕&#xff0c;點擊即可&#xff0c;但是第二個用戶注冊完成時&#xff0c;彈出的按鈕與第一個有差異&#xff0c;圖形用戶界面元素及其父元素的屬性都發生改變。所以就點不了按鈕&#xff0c;…

《C專家編程》一1.6 它很棒,但它符合標準嗎

本節書摘來自異步社區《C專家編程》一書中的第1章&#xff0c;第1.6節&#xff0c;作者 【美】Perter Van Der Linde&#xff0c;更多章節內容可以訪問云棲社區“異步社區”公眾號查看 1.6 它很棒&#xff0c;但它符合標準嗎 不要添亂——立即解散ISO工作小組。 ——匿名人士 …

abap al設置單元格可編輯 oo_excel表格操作: 圖形和圖表編輯技巧匯總(二)

1. 快速選取圖表元素圖表創建好以后&#xff0c;我們還需要對某些圖表元素進行編輯和格式化。圖表區包括整個圖表和它的全部元素&#xff0c;當你選取圖表區后&#xff0c;你就可以看到8個黑色小方塊。要想調整單個的圖表對象&#xff0c;首先必須選取該對象&#xff0c;然后更…