Marc Lehmann > Net-FCP-1.2 > Net::FCP::Key::CHK

Download:
Net-FCP-1.2.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Net::FCP::Key::CHK - manage CHK keys.

SYNOPSIS ^

 use Net::FCP::Key::CHK;

 my $key = new Net::FCP::Key::CHK;
 my $key = new_from_uri Net::FCP::Key::CHK $uri;
 my $key = new_from_data Net::FCP::Key::CHK $data, $metadata;
 ... more to come

DESCRIPTION ^

THE Net::FCP::Key::CHK CLASS

my $key = new Net::FCP::Key::CHK;

Heavily under development, don't use :)

my $key = new_from_data Net::FCP::Key::CHK $metadata, $data[, $cipher];

Generate a CHK from the given data and metadata strings.

$size = $key->size

Returns the size of the data (in bytes).

$digest = $key->digest

Return the store digest/hash.

$keynum = $key->keynumber

Returns the keynumber (version?)

$chk = $key->chk

Return the full CHK.

SEE ALSO ^

Net::FCP.

BUGS ^

Not heavily tested.

AUTHOR ^

 Marc Lehmann <schmorp@schmorp.de>
 http://home.schmorp.de/
syntax highlighting: