Files: 391163e63d7f2d8f4b5c8568fb7bfe8c355a54d0 / cap.js
254 bytesRaw
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("peer-invites:DEVELOPMENT") //XXX DON'T publish without fixing this! |
10 | |
11 | // TODO |
12 |
Built with git-ssb-web