Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mroth/randomart
:dna: visual fingerprint hash library for Go
https://github.com/mroth/randomart
drunken-bishop go golang randomart visual-hash
Last synced: 2 days ago
JSON representation
:dna: visual fingerprint hash library for Go
- Host: GitHub
- URL: https://github.com/mroth/randomart
- Owner: mroth
- License: mit
- Created: 2023-02-24T22:55:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-18T18:15:10.000Z (6 months ago)
- Last Synced: 2024-06-20T05:53:52.199Z (5 months ago)
- Topics: drunken-bishop, go, golang, randomart, visual-hash
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# randomart
Visual fingerprint hash (e.g. "randomart") library for Go.
Implements the ["drunken bishop"][1] algorithm from OpenSSH, with added support for
arbitrary grid size and tilesets.[1]: http://www.dirk-loss.de/sshvis/drunken_bishop.pdf
## Output formats
Examples of rendering the same data with different settings.### OpenSSH compatible
Dimensions: `17x9`, Tileset: `randomart.SSHTiles`, Armor: `true`
```
+-----------------+
| .+. |
| o. |
| .. + |
| Eo = |
| S + . |
| o B . . |
| B o.. |
| *... |
| .o+... |
+-----------------+
```### Spacey emoji
Dimensions: `10x10`, Tileset: `randomart.Galaxy`, Armor: `false`
```
🌒🌔🌑🌑🌑🌑🌑🌑🌑🌑
🌑🌑🌔🌑🌑🌑🌑🌑🌑🌑
🌑🌒🌑🌒🌑🌑🌑🌑🌑🌑
🌑🌑🌚🌑🌔🌑🌑🌑🌑🌑
🌑🌑🌑🌓🌑🌕🌑🌑🌑🌑
🌑🌑🌑🌑🌓🌝🌔🌑🌒🌑
🌑🌑🌑🌑🌓🌔🌔🌒🌑🌒
🌑🌑🌑🌑🌓🌕🌒🌒🌓🌑
🌑🌑🌑🌑🌑🌓🌔🌓🌑🌒
🌑🌑🌑🌑🌑🌒🌔🌔🌒🌒
```## Examples
* [fcaddr](./example/fcaddr/): Fingerprint Filecoin f1 addresses