Electroneum
Loading...
Searching...
No Matches
Language::WordHash Struct Reference

#include <language_base.h>

Public Member Functions

std::size_t operator() (const epee::wipeable_string &s) const

Detailed Description

Definition at line 144 of file language_base.h.

Member Function Documentation

◆ operator()()

std::size_t Language::WordHash::operator() ( const epee::wipeable_string & s) const
inline

Definition at line 146 of file language_base.h.

147 {
148 const epee::wipeable_string sc = utf8canonical(s);
149 return epee::fnv::FNV1a(sc.data(), sc.size());
150 }
const char * data() const noexcept
size_t size() const noexcept
T utf8canonical(const T &s)
uint64_t FNV1a(const char *ptr, size_t sz)
Definition fnv1.h:36
Here is the call graph for this function:

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/mnemonics/language_base.h