From c0ebb960da4c5668dc1d7443d3600f54732c278b Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Thu, 30 May 2024 12:03:31 -0700 Subject: [PATCH] Re-arrange motivation section of the README Signed-off-by: Alek Ratzloff --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3543982..de331c8 100644 --- a/README.md +++ b/README.md @@ -27,16 +27,18 @@ No dependencies required, everything is vanilla Python >=3.10. # Motivation +> If you see the picture is different, the key is different. +> +> If the picture looks the same, you still know nothing. + +([From OpenSSH sshkey.c fingerprint_randomart() function](https://github.com/openssh/openssh-portable/blob/8054b906983ceaed01fabd8188d3dac24c05ba39/sshkey.c#L993)) + Cryptographic hashes are often visually distinct, however, sometimes they are not. This can become vitally important in matters of security, when you are comparing two key hashes or verifying the checksum of a file from the internet. The goal of this project is to give more fuel for human pattern recognition so that two extremely similar hashes, maliciously crafted or not, have more visual depth to their distinction. -This is not a perfect solution. [From OpenSSH sshkey.c](https://github.com/openssh/openssh-portable/blob/8054b906983ceaed01fabd8188d3dac24c05ba39/sshkey.c#L993): - -> If you see the picture is different, the key is different. -> If the picture looks the same, you still know nothing. # Examples