diff --git a/src/base64.gmo b/src/base64.gmo new file mode 100644 index 0000000..f30b961 --- /dev/null +++ b/src/base64.gmo @@ -0,0 +1,5 @@ +# base64 + +numeral system in base 64: it uses 64 digits, from A to Z, a to z, 0 to 9, and +/ (or -_ for urls) + +24 bits correspond to 3 bytes, 4 base64 digits, 6 {hexadecimal} digits, and 8 {octal} digits. diff --git a/src/hexadecimal.gmo b/src/hexadecimal.gmo index e7a1c01..4bd92d6 100644 --- a/src/hexadecimal.gmo +++ b/src/hexadecimal.gmo @@ -40,3 +40,5 @@ there's a direct mapping between each possible combination of 4 bits (nibble), a & * 1101 is d & * 1110 is e & * 1111 is f + +24 bits correspond to 3 bytes, 4 {base64} digits, 6 hexadecimal digits, and 8 {octal} digits. diff --git a/src/octal.gmo b/src/octal.gmo new file mode 100644 index 0000000..94fdd2f --- /dev/null +++ b/src/octal.gmo @@ -0,0 +1,31 @@ +# octal + +numeral system in base 8: it uses 8 digits, from 0 to 7. + +they can be encoded as the eight laban efforts? see {choreutics} + +two octal digits correspond to one base64 digit. + +24 bits correspond to 3 bytes, 4 {base64} digits, 6 {hexadecimal} digits, and 8 octal digits. + ++
binary | hex | dec |
---|---|---|
000 | 0 | 0 |
001 | 1 | 1 |
010 | 2 | 2 |
011 | 3 | 3 |
100 | 4 | 4 |
101 | 5 | 5 |
110 | 6 | 6 |
111 | 7 | 7 |