hyper-p2p-key-rotation
Production module: Key rotation scheduling.
Protocol: key-rotation/v1
When to use
Rotating keys on a timeline.
When not to use
Static keys only.
Quick start
const { HyperP2PKeyRotation } = require('hyper-p2p-key-rotation')
const m = new HyperP2PKeyRotation()
m.scheduleRotation('k', 'mat', Date.now())
await m.ready()
await m.close()
Docs
Test
npm install && npm test