git ssb

0+

Dominic / ssb-peer-invites



Commit 999de37f163f57a7d9c3dd5d1b311434d7bc199b

separate cap, so easy to reference in code and tests

Dominic Tarr committed on 3/26/2018, 3:39:55 AM
Parent: e106db19b5757a1b96390c4ef9bc5603e3075aa1

Files changed

cap.jsadded
cap.jsView
@@ -1,0 +1,11 @@
1 +var chloride = require('chloride')
2 +
3 +function hash(s) {
4 + return chloride.crypto_hash_sha256(
5 + 'string' == typeof s ? new Buffer(s, 'utf8') : s
6 + )
7 +}
8 +
9 +module.exports = hash("user-invites:development")
10 +
11 +

Built with git-ssb-web