Package | Description |
---|---|
com.nettgryppa.security |
HashCash implementation.
|
Modifier and Type | Method and Description |
---|---|
static HashCash |
HashCash.mintCash(String resource,
Calendar date,
int value)
Mints a version 1 HashCash
|
static HashCash |
HashCash.mintCash(String resource,
Calendar date,
int value,
int version)
Mints a HashCash
|
static HashCash |
HashCash.mintCash(String resource,
int value)
Mints a version 1 HashCash using now as the date
|
static HashCash |
HashCash.mintCash(String resource,
int value,
int version)
Mints a HashCash using now as the date
|
static HashCash |
HashCash.mintCash(String resource,
Map<String,List<String>> extensions,
Calendar date,
int value)
Mints a version 1 HashCash
|
static HashCash |
HashCash.mintCash(String resource,
Map<String,List<String>> extensions,
Calendar date,
int value,
int version)
Mints a HashCash
|
static HashCash |
HashCash.mintCash(String resource,
Map<String,List<String>> extensions,
int value)
Mints a version 1 HashCash using now as the date
|
static HashCash |
HashCash.mintCash(String resource,
Map<String,List<String>> extensions,
int value,
int version)
Mints a HashCash using now as the date
|
Modifier and Type | Method and Description |
---|---|
int |
HashCash.compareTo(HashCash other)
Compares the value of two HashCashes
|