OAuth:...SHA256(3pm)
π OAuth::Lite2::Signer::Algorithm::HMAC_SHA256 π
okay bestie, welcome to the OAuth:...SHA256(3pm) page β yes that's the manual name, it's giving abbreviated-and-iconic, we love her. This is a User Contributed Perl Documentation situation, section 3pm, so buckle up π
β¨ NAME β¨
OAuth::Lite2::Signer::Algorithm::HMAC_SHA256 β the hmac-sha256 signature algorithm class, and she is exactly what it says on the tin π«Ά
β¨ SYNOPSIS β¨
no thoughts, just vibes and these two lines:
my $algorithm = OAuth::Lite2::Signer::Algorithm::HMAC_SHA256->new;
my $signature = $algorithm->hash($key, $text);
β¨ DESCRIPTION β¨
DEPRECATED. π¨ bestie I need you to read that again. It's the 'hmac-sha256' signature algorithm class, and it is deprecated β so like, know her, respect her, but maybe don't build your whole personality around her, yk? π
β¨ METHODS β¨
πΈ new( )
Constructor. She's born. That's it, that's the method β¨
πΈ name
Returns a name of the algorithm, 'hmac-sha256'. Literally just tells you her name like a main character introducing herself π
πΈ hash( $key, $text )
Generate signature. Two args: $key and $text β feed her those and she gives you a signature π¦
my $signature = $algorithm->hash($key, $text);
β¨ SEE ALSO β¨
OAuth::Lite2::Signer::AlgorithmOAuth::Lite2::Signer::AlgorithmsOAuth::Lite2::Signer::Algorithm::HMAC_SHA1
the whole friend group, fr fr π
β¨ AUTHOR β¨
Lyo Kato, <lyo.kato@gmail.com> β shoutout to the author, absolute legend for this one π
β¨ COPYRIGHT AND LICENSE β¨
Copyright (C) 2010 by Lyo Kato π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
like, genuinely free, no cap π«Ά
reminder bestie: this page is DEPRECATED, so keep that in mind before you commit to her, okay? mwah π
and that's the whole page! this version of OAuth:...SHA256(3pm) came from perl v5.36.0, dated 2023-07-01 β slay, periodt, go forth and sign things πβ¨π
π¦ where this page comes from
- debian trixie: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: liboauth-lite2-perl 0.11-3 Β· 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