blib/lib/Crypt/Perl/JWK.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
jwk_num_to_bigint
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Crypt::Perl::JWK;
2  
3 use strict;
4 use warnings;
5  
6 use MIME::Base64 ();
7  
8 use Crypt::Perl::BigInt ();
9  
10 sub jwk_num_to_bigint {
11 return Crypt::Perl::BigInt->from_bytes( MIME::Base64::decode_base64url($_[0]));
12 }
13  
14 1;