NAME

Crypt::HashCash::Stash - Coin stash for HashCash digital cash

VERSION

$Revision: 1.115 $
$Date: Sat Jun 10 01:44:29 PDT 2017 $

SYNOPSIS

use Crypt::HashCash::Stash;

my $stash = new Crypt::HashCash::Stash;

$client->loadkeys;                           # Load vault keys

my $request = $client->request_coin          # Request a coin
  ( Denomination => $denomination,
    Init => $init );

my $coin = $client->unblind_coin($blindcoin) # Unblind a blinded coin

print "OK\n" if $client->verify_coin($coin)  # Verify coin's signature

DESCRIPTION

This module implements a client for the HashCash digital cash system. It provides methods to request, unblind and verify the signature on HashCash coins.

METHODS

new

Creates and returns a new Crypt::HashCash::Vault::Bitcoin object.

commit

load

getcoins

addcoins

havedenom

getdenom

unverified

savebuy

savedbuys

finishbuy

AUTHOR

Ashish Gulhati, <crypt-hashcash at hash.neo.tc>

BUGS

Please report any bugs or feature requests to bug-crypt-hashcash at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Crypt-HashCash. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Crypt::HashCash::Client

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright (c) 2001-2017 Ashish Gulhati.

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.

See http://www.perlfoundation.org/artistic_license_2_0 for the full license terms.