Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cifar

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cifar

Just another encryption-like module, not to be used for serious security purpose.

  • 1.0.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cifar

A little modification of what you may call caesar cipher.

Usage

const feed = require("cifar");
  1. Pass the string to be encrypted and the number of position to shift (forward only).
console.log(feed("Hello", 2)); // prints "JgNnQ"
  1. Pass the string to be encrypted and the number of position to shift (forward only).
console.log(feed("Hello54#", 2)) // prints "JgNnQ76%"
  1. Pass the string to be encrypted and the number of position to shift (forward only), same number and special characters at the end may generate different cipher.
console.log(feed("Hello", 2, "54", "#")) // prints "JgNnQ76"

Keywords

FAQs

Package last updated on 05 Jan 2021

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