Emoji code for generating deterministic keys
April 01, 2017
This document describes the implementation of emoji code for generating deterministic keys.
Motivation
BIP39 provides a great mechanism to constuct a mnemonic code for generating deterministic keys. The problem is that remembering 12 or more words can be hard.
There is a better way to achieve the same effect: Emoji! ๐
Generating the mnemonic
Generating the mnemonic is very similar to BIP39 however the method described in this doc is using 256 selected emoji (instead of 2048 words). 256 icons can be represented as 16x16 grid.
Step by step instructions can be found below:
- Generate entropy bits.
- Create a checksum by taking the first byte of its SHA256 hash.
- Append a checksum to the end of the initial entropy.
- Split concatenated bits into groups of 8 bytes (
2^8 = 256
). - Each group encodes a single emoji.
Example
End | Byte | Emoji | Word |
---|---|---|---|
8 | 162 | ๐ | pizza |
16 | 12 | ๐ | bath |
24 | 159 | ๐ท | pig |
32 | 252 | โ | x |
40 | 170 | ๐ป | radio |
48 | 102 | ๐ซ | gun |
56 | 59 | ๐ | cyclone |
64 | 22 | ๐ | book |
72 | 11 | ๐ | basketball |
80 | 160 | ๐ | pill |
88 | 233 | ๐ | trophy |
96 | 148 | ๐ | nose |
104 | 229 | ๐ | tongue |
112 | 254 | 0๏ธโฃ | zero |
120 | 76 | โ๏ธ | envelope |
128 | 54 | ๐ฎ | cow |
136 | 45 | โช | church |
144 | 189 | ๐บ | seat |
152 | 100 | ๐ | grapes |
160 | 1 | ๐ฝ | alien |
168 | 52 | ๐ฎ | cop (checksum) |
Example in emoji:
๐ ๐ ๐ท โ ๐ป ๐ซ ๐ ๐ ๐ ๐ ๐ ๐ ๐ 0๏ธโฃ โ๏ธ ๐ฎ โช ๐บ ๐ ๐ฝ ๐ฎ
Emoji list
Byte | Emoji | Text |
---|---|---|
0 | airplane |
|
1 | ๐ฝ | alien |
2 | ๐ | ambulance |
3 | โ | anchor |
4 | ๐ผ | angel |
5 | ๐ | ant |
6 | ๐ | apple |
7 | ๐ถ | baby |
8 | ๐ | balloon |
9 | ๐ | banana |
10 | โพ | baseball |
11 | ๐ | basketball |
12 | ๐ | bath |
13 | ๐ | battery |
14 | ๐ป | bear |
15 | ๐บ | beer |
16 | ๐ชฒ | beetle |
17 | ๐ | bell |
18 | ๐ฒ | bike |
19 | ๐ | birthday |
20 | โต | boat |
21 | ๐ฃ | bomb |
22 | ๐ | book |
23 | ๐ข | boot |
24 | ๐ | bouquet |
25 | ๐ | bow |
26 | ๐ณ | bowling |
27 | ![]() |
bowtie |
28 | ๐ | bread |
29 | ๐ผ | briefcase |
30 | ๐ | bug |
31 | ๐ก | bulb |
32 | ๐ | bus |
33 | ๐ต | cactus |
34 | ๐ฐ | cake |
35 | ๐ | calendar |
36 | ๐ซ | camel |
37 | ๐ท | camera |
38 | ๐ฌ | candy |
39 | ๐ | car |
40 | ๐ฑ | cat |
41 | ๐ฟ | cd |
42 | ๐น | chart |
43 | ๐ | cherries |
44 | ๐ฐ | chestnut |
45 | โช | church |
46 | ๐ฌ | clapper |
47 | โ๏ธ | cloud |
48 | ๐ธ | cocktail |
49 | โ | coffee |
50 | ๐ง | construction |
51 | ๐ช | cookie |
52 | ๐ฎ | cop |
53 | ๐ฝ | corn |
54 | ๐ฎ | cow |
55 | ๐ | crocodile |
56 | ๐ | crown |
57 | ๐ | cupid |
58 | ๐ | curry |
59 | ๐ | cyclone |
60 | ๐ | dancer |
61 | ๐ฏ | dart |
62 | ๐ถ | dog |
63 | ๐ | dolls |
64 | ๐ฌ | dolphin |
65 | ๐ช | door |
66 | ๐ฉ | doughnut |
67 | ๐ | dragon |
68 | ๐ | dress |
69 | ๐ง | droplet |
70 | ๐ | ear |
71 | ๐ฅ | egg |
72 | ๐ | eggplant |
73 | 8๏ธโฃ | eight |
74 | ๐ | elephant |
75 | ๐ง | email |
76 | โ๏ธ | envelope |
77 | โ | exclamation |
78 | ๐ | eyeglasses |
79 | ๐ | eyes |
80 | ๐ญ | factory |
81 | ๐พ | feet |
82 | ๐ฅ | fire |
83 | ๐ | fireworks |
84 | ๐ | fish |
85 | 5๏ธโฃ | five |
86 | ๐ | flags |
87 | ๐ฆ | flashlight |
88 | ๐ | football |
89 | โฒ | fountain |
90 | 4๏ธโฃ | four |
91 | ๐ | fries |
92 | ๐ธ | frog |
93 | ๐ฆ | frowning |
94 | โฝ | fuelpump |
95 | ๐ | gem |
96 | ๐ป | ghost |
97 | ๐ | gift |
98 | ๐ | goat |
99 | โณ | golf |
100 | ๐ | grapes |
101 | ๐ธ | guitar |
102 | ๐ซ | gun |
103 | ๐ | haircut |
104 | ๐ | hamburger |
105 | ๐จ | hammer |
106 | ๐น | hamster |
107 | โ | hand |
108 | ๐ | handbag |
109 | ๐ง | headphones |
110 | โค๏ธ | heart |
111 | ๐ | helicopter |
112 | ๐ฟ | herb |
113 | ๐ | honeybee |
114 | ๐ด | horse |
115 | ๐ฅ | hospital |
116 | ๐จ | hotel |
117 | โ | hourglass |
118 | ๐ | house |
119 | ๐ฆ | icecream |
120 | interrobang |
|
121 | ๐ | jeans |
122 | ๐ | joy |
123 | ๐ | key |
124 | ๐ | kimono |
125 | ๐ | kiss |
126 | ๐จ | koala |
127 | ๐ | leaves |
128 | ๐ | lemon |
129 | ๐ | link |
130 | ๐ | lips |
131 | ๐ | lipstick |
132 | ๐ | lock |
133 | ๐ญ | lollipop |
134 | ๐ซ | mailbox |
135 | ๐จ | man |
136 | ๐ | melon |
137 | ๐ | metro |
138 | ๐ค | microphone |
139 | ๐ฌ | microscope |
140 | ๐ | monkey |
141 | ๐ | moon |
142 | ๐ญ | mouse |
143 | ๐ช | muscle |
144 | ๐ | mushroom |
145 | ๐ | necktie |
146 | ๐ฐ | newspaper |
147 | 9๏ธโฃ | nine |
148 | ๐ | nose |
149 | ๐ | notebook |
150 | ๐ | octopus |
151 | 1๏ธโฃ | one |
152 | ๐ | paperclip |
153 | parking |
|
154 | ๐ | peach |
155 | ๐ | pear |
156 | ๐ | pencil |
157 | ๐ง | penguin |
158 | โ๏ธ | phone |
159 | ๐ท | pig |
160 | ๐ | pill |
161 | ๐ | pineapple |
162 | ๐ | pizza |
163 | ๐ฉ | poodle |
164 | ๐ฉ | poop |
165 | ๐ฎ | postbox |
166 | ๐ | purse |
167 | ๐ | pushpin |
168 | โ | question |
169 | ๐ฐ | rabbit |
170 | ๐ป | radio |
171 | ๐ | rainbow |
172 | ๐ | ramen |
173 | ๐ | rat |
174 | โป๏ธ | recycle |
175 | ๐ | ribbon |
176 | ๐ | ring |
177 | ๐ | rocket |
178 | ๐น | rose |
179 | ๐ฃ | rowboat |
180 | ๐ | runner |
181 | ๐ | running |
182 | โต | sailboat |
183 | ๐ก | sandal |
184 | ๐ | santa |
185 | ๐ท | saxophone |
186 | ๐ซ | school |
187 | โ๏ธ | scissors |
188 | ๐ฑ | scream |
189 | ๐บ | seat |
190 | 7๏ธโฃ | seven |
191 | ๐ | sheep |
192 | ๐ | shell |
193 | ๐ข | ship |
194 | ๐ | shirt |
195 | ๐ | shoe |
196 | ๐ฟ | shower |
197 | 6๏ธโฃ | six |
198 | ๐ฟ | ski |
199 | ๐ | skull |
200 | ๐ฌ | smoking |
201 | ๐ | snail |
202 | ๐ | snake |
203 | ๐ | snowboarder |
204 | โ๏ธ | snowflake |
205 | โ | snowman |
206 | โฝ | soccer |
207 | ๐ | sound |
208 | ๐ | spaghetti |
209 | ๐ค | speedboat |
210 | :squirrel: | squirrel |
211 | โญ | star |
212 | ๐ | strawberry |
213 | ๐ป | sunflower |
214 | ๐ | sunglasses |
215 | โ๏ธ | sunny |
216 | ๐ | sunrise |
217 | ๐ | surfer |
218 | ๐ฃ | sushi |
219 | ๐ | swimmer |
220 | ๐ | taxi |
221 | ๐ต | tea |
222 | ๐ญ | telescope |
223 | ๐พ | tennis |
224 | โบ | tent |
225 | 3๏ธโฃ | three |
226 | ๐ฏ | tiger |
227 | ๐ฝ | toilet |
228 | ๐ | tomato |
229 | ๐ | tongue |
230 | ๐ | tractor |
231 | ๐ | train |
232 | ๐ | tram |
233 | ๐ | trophy |
234 | ๐ | truck |
235 | ๐บ | trumpet |
236 | ๐ | tshirt |
237 | ๐ท | tulip |
238 | ๐ข | turtle |
239 | ๐บ | tv |
240 | 2๏ธโฃ | two |
241 | โ | umbrella |
242 | ๐บ๐ธ | us |
243 | ๐ป | violin |
244 | ๐ | volcano |
245 | warning |
|
246 | ๐ | watermelon |
247 | ๐ณ | whale |
248 | โฟ | wheelchair |
249 | ๐บ | wolf |
250 | ๐ฉ | woman |
251 | ๐ง | wrench |
252 | โ | x |
253 | โก | zap |
254 | 0๏ธโฃ | zero |
255 | ๐ค | zzz |
From mnemonic to seed
Follow instructions in BIP39. Please use word associated with emoji from the table above instead of it's UTF-8 representation.
Notes
This document is highly inspired by BIP39 and was published on April Fools 2017.