Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.06 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.06 KB

ciphercore

(Work in progress..) if you just want to encrypt content and don't care about the API design that is currently blocked, then take a look at crypto-encoder

ciphercore is a proxy factory that extends hypercore with the following features:

  • Transparently encrypts your content for cold-storage
  • Introduces a new peer state (blind replicator)
  • Should work as a drop-in replacement for existing hypercore dependents
var ciphercore = require('ciphercore')

var feed = ciphercore('./my-first-dataset', {valueEncoding: 'utf-8'})

feed.append('hello')

// extended functionality
feed.blindKey // => Replication key
feed.key      // => Replication key + Decryption key

feed.internal // => the internal hypercore/proxy-target

Refer to the test for more info.

TODO:

  • Test with compound-cores like hyperdrive && hyperdb
  • Introduce dynamic coretype support for multifeed.