ssb-private
scuttlebot plugin for indexed private messages
Last updated 5 months ago by mixmix .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ssb-private 
SYNC missed versions from official npm registry.

ssb-private

scuttlebot plugin for indexed private messages.

Versions

Please note that 0.2.0 requires scuttlebot 11.3

API

private.publish(content, recipients, callback) (async)

Publish encrypted private messages to one or more recipients. Behaves similar to Scuttlesbot's publish method, but also takes an array of recipients (ssb public keys).

private.unbox(message) (sync)

Decrypt a private message using your private key. Returns the decrypted message.

read(opts) (sync)

Returns a stream of private messages. Takes query options similar to ssb-query.

License

MIT

Current Tags

  • 1.1.0                                ...           latest (5 months ago)

10 Versions

  • 1.1.0                                ...           5 months ago
  • 1.0.0                                ...           5 months ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           3 years ago
  • 0.1.4                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.0.0                                ...           3 years ago

Copyright 2014 - 2016 © taobao.org |