Skip to content

(Experimental) hypercore compatible wrapper that provides transparent content encryption

Notifications You must be signed in to change notification settings

telamon/ciphercore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

(Experimental) hypercore compatible wrapper that provides transparent content encryption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published