Skip to content

Commit

Permalink
feat: add proquint (#78)
Browse files Browse the repository at this point in the history
* feat: add proquint

We're removing proquint support from IPNS and making it a multibase. I've chosen `p` or "pro-" so proquints are always fully pronounceable.
  • Loading branch information
Stebalien authored Apr 22, 2021
1 parent ae81809 commit c8f301a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ base64, m, rfc4648 no padding,
base64pad, M, rfc4648 with padding - MIME encoding, candidate
base64url, u, rfc4648 no padding, default
base64urlpad, U, rfc4648 with padding, default
proquint, p, PRO-QUINT https://arxiv.org/html/0901.4016, draft
```

**NOTE:** Multibase-prefixes are encoding agnostic. "z" is "z", not 0x7a ("z" encoded as ASCII/UTF-8). For example, in UTF-32, "z" would be `[0x7a, 0x00, 0x00, 0x00]`.
Expand Down
1 change: 1 addition & 0 deletions multibase.csv
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ base64, m, rfc4648 no padding,
base64pad, M, rfc4648 with padding - MIME encoding, candidate
base64url, u, rfc4648 no padding, default
base64urlpad, U, rfc4648 with padding, default
proquint, p, PRO-QUINT https://arxiv.org/html/0901.4016, draft
7 changes: 7 additions & 0 deletions rfcs/PRO-QUINT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# PRO-QUINT

See: https://arxiv.org/html/0901.4016 ([/ipfs/bafybeib5jsyi5igjwhi7hzkfebpvnq2ykbwpxeaaxlkyfyxqvcecoao4qa](https://dweb.link/ipfs/bafybeib5jsyi5igjwhi7hzkfebpvnq2ykbwpxeaaxlkyfyxqvcecoao4qa)).

While the multibase prefix is `p`, the "full" prefix is actually `pro-`. This way, proquints are always easily pronouncable. For example

`127.0.0.1`, as a multibase proquint encoded number, is `pro-lusab-babad`.

0 comments on commit c8f301a

Please sign in to comment.