diff --git a/docs/annotated.html b/docs/annotated.html index 18dbea5..fc613da 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -19,7 +19,7 @@
This is the complete list of members for Identiconpp, including all inherited members.
generate(const string &digest, const uint16_t width=100) | Identiconpp | |
identicon_type enum name | Identiconpp | |
Identiconpp(const uint8_t rows, const uint8_t columns, identicon_type type=identicon_type::simple, const string &background="ffffffff", const vector< string > &foreground={ "000000ff" }) | Identiconpp | explicit |
algorithm enum name | Identiconpp | |
generate(const string &digest, const uint16_t width=100) | Identiconpp | |
Identiconpp(const uint8_t rows, const uint8_t columns, algorithm type=algorithm::ltr_symmetric, const string &background="ffffffff", const vector< string > &foreground={ "000000ff" }) | Identiconpp | explicit |
Public Types | |
enum | identicon_type { simple, -libravatar, + |
enum | algorithm { ltr_symmetric, sigil } |
List of identicon types. More... | |
List of identicon algorithms. | |
Public Member Functions | |||||
Identiconpp (const uint8_t rows, const uint8_t columns, identicon_type type=identicon_type::simple, const string &background="ffffffff", const vector< string > &foreground={ "000000ff" }) | |||||
Initialises an instance of Identiconpp. More... | |||||
Identiconpp (const uint8_t rows, const uint8_t columns, algorithm type=algorithm::ltr_symmetric, const string &background="ffffffff", const vector< string > &foreground={ "000000ff" }) | |||||
Initialises an instance of Identiconpp. More... | |||||
Magick::Image | generate (const string &digest, const uint16_t width=100) | ||||
Generates identicon from digest. More... | |||||
-
|
- -strong | -
identicon_type::simple
, algorithm::ltr_symmetric
, You get the images as Magick::Image
. This allows you to make all kinds of modifications.
The HTML reference can be generated with build_doc.sh, if doxygen is installed. It is also available at doc.schlomp.space/identiconpp/.
+You need to generate hashes yourself, any hexadecimal string will do. Make sure to use a safe hashing algorithm for sensitive data (not MD5). You can select as many columns and rows as you like, but make sure you have enough entropy. If something seems to be wrong, exceptions will be thrown.
Gentoo ebuilds are available via my repository.
columns / 2 + columns % 2
Implemented in ltr_symmetric.cpp
+columns / 2 + columns % 2
Implemented in sigil.cpp
+