--- Digest-Hashcash/Hashcash.pm 2004/05/30 21:59:43 1.3 +++ Digest-Hashcash/Hashcash.pm 2004/06/27 14:03:28 1.4 @@ -72,7 +72,7 @@ $time < $min ? $min : int $time; } -=item $cipher = new [param => value...] +=item $cipher = new Digest::Hashcash [param => value...] =over 4 @@ -103,14 +103,14 @@ =back -=item $token = $cipher->hash($data [, param => value...]) +=item $token = $cipher->hash ($data [, param => value...]) Creates and returns a new token. This can take some time. Any additional parameters are interpreted the same way as arguments to C. -=item $prefix = $cipher->verify($token [, param => value...])) +=item $prefix = $cipher->verify ($token [, param => value...])) Checks the given token and returns true if the token has the minimum number of prefix bits, or false otherwise. The value returned is actually @@ -120,11 +120,11 @@ Any additional parameters are interpreted the same way as arguments to C. -=item $resource = $cipher->resource($token) +=item $resource = $cipher->resource ($token) Returns the resource part, or C. -=item $tstamp = $ciper->timestamp($token) +=item $tstamp = $ciper->timestamp ($token) Returns the timestamp part (in the same format as perl's C