summaryrefslogtreecommitdiffstats
path: root/comm/chat/protocols/matrix/lib/bs58/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'comm/chat/protocols/matrix/lib/bs58/index.js')
-rw-r--r--comm/chat/protocols/matrix/lib/bs58/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/comm/chat/protocols/matrix/lib/bs58/index.js b/comm/chat/protocols/matrix/lib/bs58/index.js
new file mode 100644
index 0000000000..3d02b0cbbe
--- /dev/null
+++ b/comm/chat/protocols/matrix/lib/bs58/index.js
@@ -0,0 +1,4 @@
+const basex = require('base-x')
+const ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
+
+module.exports = basex(ALPHABET)