- Load text file
- Load from image (OCR)
- Scan QR code
- UTF-16LE
- UTF-32LE
- US-ASCII
- ISO-8859-1 (Latin-1)
- ISO-8859-15 (Latin-9)
- Windows-1252
- ISO-8859-2 (Latin-2)
- Windows-1250
- ISO-8859-3 (Latin-3)
- ISO-8859-4 (Latin-4)
- ISO-8859-13 (Latin-7)
- Windows-1257
- Shift_JIS
- EUC-JP
- ISO-2022-JP (JIS)
- GB2312 (EUC-CN)
- GB18030
- Big5-HKSCS
- EUC-KR (KS X 1001)
- ISO-2022-KR
- ISO-8859-5
- Windows-1251
- KOI8-R
- KOI8-U
- ISO-8859-6
- Windows-1256
- ISO-8859-7
- Windows-1253
- ISO-8859-8
- Windows-1255
- ISO-8859-9 (Latin-5)
- Windows-1254
- TIS-620
- Windows-874
- Windows-1258
Decoded
Base45 | |
---|---|
Base45/Zlib/COSE/CBOR |
Encoded
Base45 |
---|
About Base45
Base45 is an encoding scheme that uses 7-bit printable ASCII characters.
Base45 divides the data into two bytes each and converts them into three ASCII characters to represent them.
The ASCII characters used in Base45 are as follows: treat the 2-byte value as a big-endian unsigned integer, calculate each digit (3 digits) of the 45 decimal system, and then calculate the Base45 conversion result based on the following ASCII characters.
45 decimal digits | Base45 ASCII characters |
---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
10 | A |
11 | B |
12 | C |
13 | D |
14 | E |
15 | F |
16 | G |
17 | H |
18 | I |
19 | J |
20 | K |
21 | L |
22 | M |
23 | N |
24 | O |
25 | P |
26 | Q |
27 | R |
28 | S |
29 | T |
30 | U |
31 | V |
32 | W |
33 | X |
34 | Y |
35 | Z |
36 | [SP] |
37 | $ |
38 | % |
39 | * |
40 | + |
41 | - |
42 | . |
43 | / |
For example, if you convert "Hello" with Base45, it will look like this.
1. Separate every 2 bytes.
4865(16) 6C6C(16) 6F(16) (He ll o)
2. Every 2 bytes are treated as a big-endian unsigned integer, and the value is converted to 3 digits in each of the 45 decimal systems. If the end is a single byte, it is converted to 2 digits of the 45 decimal system.
4865(16) = 18533(10) = 9 * 452 + 6 * 45 + 38
6C6C(16) = 27756(10) = 13 * 452 + 31 * 45 + 36
6F(16) = 111(10) = 2 * 45 + 21
3. Convert each 3 digits of the 45 decimal system to ASCII characters in reverse order.
45 decimal digits | 38 | 6 | 9 | 36 | 31 | 13 | 21 | 2 | ||
---|---|---|---|---|---|---|---|---|---|---|
Base45 ASCII characters | % | 6 | 9 | [SP] | V | D | L | 2 |
4. The characters are all connected to form the result of the Base45 conversion.
%69 VDL2
About Base45/Zlib/COSE/CBOR
Base45/Zlib/COSE/CBOR is CBOR format data signed in COSE format, compressed in Zlib format, and converted to Base45 format.
EUDCC (EU Digital COVID Certificate) is used as the data format for QR codes. EUDCC is the common format for the COVID-19 vaccination certificate in the EU, also known as DGC (EU Digital Green Certificate) or Green Pass.
DenCode supports decoding only, and the decoded result is expressed in JSON format. The validity of the signature is not verified.