OAuth::Lite2::Signer::Algorithm::HMAC_SHA1(3pm)

OAuth::Lite2::Signer::Algorithm::HMAC_SHA13pm

Hmac-sha1 signature algorithm class

Usage

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

Overview

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);

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Lyo Kato, <[email protected]>

From liboauth-lite2-perl 0.11-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.