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

OAuth::Lite2::Signer::Algorithm::HMAC_SHA2563pm

Hmac-sha256 signature algorithm class

Usage

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

Overview

DEPRECATED. 'hmac-sha256' signature algorithm class.

Methods

new( )

Constructor.

name

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

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.