20 #ifndef OPENCPN_INCLUDE_PINCODE_H_
21 #define OPENCPN_INCLUDE_PINCODE_H_
42 std::string
Hash()
const;
48 static std::string
IntToHash(uint64_t value);
A random generated int value with accessors for string and hashcode.
Pincode(uint64_t v)
Create a new pincode based on a known value.
static std::string IntToHash(uint64_t value)
convert numeric value to hash string.
static Pincode Create()
Create a new pincode based on a random value.
std::string Hash() const
Return a hashvalue string.
std::string ToString() const
Return value as string.
uint64_t Get() const
Return numeric value:
std::string CompatHash()
Return a hashvalue as computed on 5.8 hosts.