New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

secure-store-redis

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

secure-store-redis

A simple wrapper to encrypt and decrypt data stored in redis

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
87
decreased by-42%
Maintainers
1
Weekly downloads
 
Created
Source

secure-store-redis

A simple wrapper to encrypt and decrypt data stored in redis. The main point is to ensure that any data you store in redis cannot be accessed by anyone else outside of the process, without the key.

var SecureStore = require('secure-store-redis');

var store = new SecureStore({
    prefix: 'myApp:store',
    secret: 'quacks like a duck',
    redis: { // standard redis config object
        host: "127.0.0.1",
        port: 6379
    }
});

store.save('quote', 'i see dead people');

store.get('quote'); // returns 'i see dead people'
store.get('blahblah'); // return undefined

var otherStore = new SecureStore({
    prefix: 'myApp:store',
    secret: 'this is the wrong secret',
    redis: { // standard redis config object
        host: "127.0.0.1",
        port: 6379
    }
});

store.get('quote'); // returns undefined

Keywords

FAQs

Package last updated on 18 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc