https://github.com/beenotung/randomart
File-based randomart generator
https://github.com/beenotung/randomart
Last synced: 3 months ago
JSON representation
File-based randomart generator
- Host: GitHub
- URL: https://github.com/beenotung/randomart
- Owner: beenotung
- Created: 2018-07-07T20:57:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-16T09:45:26.000Z (about 4 years ago)
- Last Synced: 2025-06-02T07:40:52.962Z (4 months ago)
- Language: Erlang
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= randomart
File-based randomart generator
The "randomart" or "visual fingerprint" shown when
creating OpenSSH keys or connecting to OpenSSH servers.Using 'Drunken Bishop' algorithm.
== Example
```
+-----------------+
| +o.+o. |
| o oo.&. |
| o .+ & B. |
| .o X B. |
| . S +... |
| + ..oo . .|
| . . .o . o |
| . oo= |
| .o=o=E|
+----[SHA256]-----+
```== Specification
Grid of size 17 x 9
For each two bit of input, interpret as Movement Code
.Movement Code
|===
| code | Direction| 00 | North-West
| 01 | North-East
| 10 | South-West
| 11 | South-East
|===.Frequency Representation
|===
| Occupancy | Character| 0 |
| 1 | .
| 2 | o
| 3 | +
| 4 | =
| 5 | *
| 6 | B
| 7 | O
| 8 | X
| 9 | @
| 10 | %
| 11 | &
| 12 | #
| 13 | /
| 14 | ^
| above 14 | ^
|===Starting Point marked as `S`.
Ending Point marked as `E`.
== Reference
link:https://pthree.org/2013/05/30/openssh-keys-and-the-drunken-bishop/[Aaron Toponce : OpenSSH Keys and The Drunken Bishop]