Hashcash class

Constructors

Hashcash()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

version int
Version of the implemented hashcash protocol Warning: This version has nothing to do with the version fo the Package stated in the pubspec.yaml file
read-only

Static Methods

check(String stamp, {String resource, int bits = 20, Duration check_expiration}) bool
mint(String resource, {int bits = 20, DateTime now, String extension = '', int saltchars = 8, bool stamp_seconds = false}) String
Mint a new hashcash stamp for 'resource' with 'bits' of collision [...]