Encode::Base58(3pm)
β¨ NAME β¨
Encode::Base58 β it's giving base58 encodings, specifically for Flickr short URIs π¦ (and yeah, this is the Encode::Base58 page from the Perl manual, section 3pm, bestie, we're in Perl land now π
)
πΈ SYNOPSIS πΈ
okay so literally the whole vibe is two function calls, no cap:
use Encode::Base58;
my $short = encode_base58($number);
my $number = decode_base58($short);
one number in, one cute little string out, and then you flip it back π₯
π DESCRIPTION π
so Encode::Base58 is a base58 encoder/decoder implementation, written in Perl, and it is so good at its job π«Ά
base58 encoding is the whole trick where you squish ID numbers down into a short string, and the reason anyone cares is that it's what powers Flickr's short URL β you know, the flic.kr ones π
β¨
likeβ¦ numbers are long and ugly and the short strings are cute and tiny. it's giving glow-up. it's giving main character energy. periodt. π
π AUTHOR π
Tatsuhiko Miyagawa <miyagawa@bulknews.net> β the icon who wrote this, we stan π«ΆπΈ
π LICENSE π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. slay, free software rights π
π SEE ALSO π
- <http://www.flickr.com/groups/api/discuss/72157616713786392/>
- <http://gist.github.com/101753> β this one's in Ruby π
- <http://gist.github.com/101674> β this one's in Objective-C, and it comes with unit tests π§
and that's the whole page bestie, we're done here π¦
this doc came from perl v5.36.0, dated 2022-11-19, filed under Encode::Base58(3pm) in the User Contributed Perl Documentation β¨ mwah, bye!! π π
π¦ where this page comes from
- debian bookworm: libencode-base58-perl 0.01-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libencode-base58-perl 0.01-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libencode-base58-perl 0.01-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libencode-base58-perl 0.01-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libencode-base58-perl 0.01-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms