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

text-encrypter

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

text-encrypter

The library to encrypt/decrypt text using caesar cipher mechanism

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
41
decreased by-33.87%
Maintainers
1
Weekly downloads
 
Created
Source

Text Encrypter

This is very small and lightweight library that is capable to encrypt and decrypt the text using caesar cipher mechanism.

Installation

Install text-encrypter with npm/yarn

  npm install text-encrypter // npm
  yarn add text-encrypter // yarn

Usage/Examples

Import
import { encrypt, decrypt } from 'text-encrypter'; // ES6
const { encrypt, decrypt } = require('text-encrypter'); // CommonJS
Data
const value = 'Hello World';
const shift = 3; // Default is 1
const ignoreSpecialCharacters = false; // Default is true
Usage
// Encrypt
let encryptedText = encrypt(value, shift, ignoreSpecialCharacters);

// Decrypt
let decryptedText = decrypt(value, shift, ignoreSpecialCharacters);

Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request :D

Author

text-encrypter © Yousuf
Authored and maintained by Yousuf Kalim.

GitHub @yousufkalim · LinkedIn @yousufkalim

License

MIT

Keywords

FAQs

Package last updated on 11 Jan 2023

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