File: Crypt.pm

package info (click to toggle)
libjson-webtoken-perl 0.10-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: perl: 336; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package JSON::WebToken::Crypt;

use strict;
use warnings;

sub sign {
    my ($class, $algorithm, $message, $key) = @_;
    die 'sign method must be implements!';
}

sub verify {
    my ($class, $algorithm, $message, $key, $signature) = @_;
    die 'verify method must be implements!'
}

1;
__END__