OpenCPN Partial API docs
|
A random generated int value with accessors for string and hashcode. More...
#include <pincode.h>
Public Member Functions | |
Pincode (uint64_t v) | |
Create a new pincode based on a known value. | |
uint64_t | Get () const |
Return numeric value: | |
std::string | ToString () const |
Return value as string. | |
std::string | Hash () const |
Return a hashvalue string. | |
std::string | CompatHash () |
Return a hashvalue as computed on 5.8 hosts. | |
Static Public Member Functions | |
static Pincode | Create () |
Create a new pincode based on a random value. | |
static std::string | IntToHash (uint64_t value) |
convert numeric value to hash string. | |
A random generated int value with accessors for string and hashcode.