logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

OAuth::Lite2::Signer::Algorithm::HMAC_SHA1 - hmac-sha1 signature algorithm class

Author

       Lyo Kato, <lyo.kato@gmail.com>

Description

       DEPRECATED. 'hmac-sha1' signature algorithm class.

Methods

new()
       Constructor.

   name
       Returns a name of the algorithm, 'hmac-sha1'.

   hash($key,$text)
       Generate signature.

           my $signature = $algorithm->hash($key, $text);

Name

       OAuth::Lite2::Signer::Algorithm::HMAC_SHA1 - hmac-sha1 signature algorithm class

See Also

       OAuth::Lite2::Signer::Algorithm OAuth::Lite2::Signer::Algorithms
       OAuth::Lite2::Signer::Algorithm::HMAC_SHA256

Synopsis

           my $algorithm = OAuth::Lite2::Signer::Algorithm::HMAC_SHA1->new;
           my $signature = $algorithm->hash($key, $text);

See Also