Is there anything on #cpan for creating a “visual representation” of a string, something like how randomart for ssh-keygen works? @Perl #askFedi
What is randomart produced by ssh-keygen?
When you generate a key, you get "randomart" from newer versions of OpenSSH. I am unable to find an explanation of why, and what I'm supposed to use it for. Generating public/private rsa key pair....Super User
Mark Gardner
in reply to swagg boi • • •All I could find was some decade-old code by Robert Krimen that looks like a port of the relevant #OpenSSH #C code to #Perl as part of a package to store secrets in YAML and JSON files: metacpan.org/release/ROKR/App-…
Here’s the corresponding OpenSSH `fingerprint_randomart` function: github.com/openssh/openssh-por…
openssh-portable/sshkey.c at 25c8a2bbcc10c493d27faea57c42a6bf13fa51f2 · openssh/openssh-portable
GitHubswagg boi
in reply to Mark Gardner • • •fold
command in the shell to just arrange the string into a square/gridMark Gardner
in reply to swagg boi • • •perlop - Perl operators and precedence - Perldoc Browser
perldoc.perl.orgMark Gardner
in reply to Mark Gardner • • •• metacpan.org/pod/Text::Fold
• metacpan.org/pod/Text::ANSI::F…
Text::Fold
metacpan.org