|
@@ -51,7 +51,7 @@ const valueEncoding = crypto.encoder(encryptionKey, {})
|
51
|
51
|
|
52
|
52
|
Returns a message encoder used for encrypting messages in hypercore. Can be passed to hypercore doing the following:
|
53
|
53
|
|
54
|
|
-```
|
|
54
|
+```js
|
55
|
55
|
const accessKey = crypto.accessKey
|
56
|
56
|
const keys = crypto.unpack(accessKey)
|
57
|
57
|
var feed = hypercore(storage, keys.publicKey, {
|