Coder Social home page Coder Social logo

drunken-bishop's Introduction

drunken-bishop

OpenSSH fingerprint visualization algorithm in Rust. Just for my learning purpose.

Usage

See examples/basic.rs.

Handy CLI is available at src/main.rs.

$ cargo run --quiet -- -h
OpenSSH fingerprint visualization algorithm in Rust.

Usage: drunken-bishop [OPTIONS] [STRING]...

Arguments:
  [STRING]...  Strings to visualize. All strings will be joined with a space. If none, read from stdin

Options:
  -s, --sha256   Use SHA-256 digest of given string
  -v, --verbose  Verbose output
  -h, --help     Print help
  -V, --version  Print version

e.g.

$ cargo run --quiet -- --sha256 --verbose "hello world"
2024-05-14T05:56:44.200450Z DEBUG drunken_bishop: Input string: hello world    
2024-05-14T05:56:44.200501Z DEBUG drunken_bishop: SHA-256: true    
2024-05-14T05:56:44.200510Z DEBUG drunken_bishop: Verbose: true    
2024-05-14T05:56:44.200530Z DEBUG drunken_bishop: SHA-256 digest: b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9    
+-----------------+
|                 |
|                 |
|          ..     |
|         =.o.    |
|     ...So* +.   |
|    ..oooB.#  .  |
|    ...o+oB O..  |
|    .. +o..++o . |
|   ..++oE o*=+.  |
+-----------------+

License

MIT. See LICENSE.

Reference

drunken-bishop's People

Contributors

0x6b avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.