-
Notifications
You must be signed in to change notification settings - Fork 2
Samples
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Rendered using the same hash.
Increasing tiles inserts more patterns inside while keeping patterns outside identical.
The default value is 6. The value from 3 to 8 is recommended.
Smaller value may tend to yield similar identicons among hashes.
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Rendered using the same hash.
Increasing colors changes the whole pattern as color values are taken from hash first.
The default value is 2. The value from 1 to 3 is recommended.
Larger value may yield identicons that look cluttered.
The parameter just specifies maximum colors to use, and more colors requires rather more entropy (see below.)
The required hash entropy increases as you specify more tiles/colors.
You can call Identicon->getMinimumHashLength() to know in reality how many characters are needed.
T\C | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
---|---|---|---|---|---|---|---|---|
1-2 | 10 | 16 | 22 | 28 | 34 | 40 | 46 | 52 |
3-4 | 12 | 18 | 24 | 30 | 36 | 42 | 48 | 54 |
5-6 | 15 | 21 | 27 | 33 | 39 | 45 | 51 | 57 |
7-8 | 19 | 25 | 31 | 37 | 43 | 49 | 55 | 61 |
Algorithm | Hex length |
---|---|
MD5 | 32 |
SHA-1 | 40 |
SHA-224 | 56 |
SHA-256 | 64 |
SHA-384 | 96 |
SHA-512 | 128 |
MD5 is the best for the recommended range.