Encode::Base58(3pm)

πŸ“¦
version 0.01 Β· 2 versions
  • 0.01 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.01 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 🌈


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