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

xxtea

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xxtea

xxtea encryption algorithm in pure javascript

  • 0.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
154
increased by32.76%
Maintainers
2
Weekly downloads
 
Created
Source

xxtea

npm download npm version License

Pure javascript xxtea encryption algorithm for Node.js.

Install

  npm install xxtea

Usage

var xxtea = require('xxtea');
var pass  = 'password';
// to encrypt
var encrypted = xxtea.encrypt('data to encrypt', pass);

// to decrypt
var decrypted = xxtea.decrypt(encrypted, pass);

API

xxtea

  • decrypt(string, password)
    • string - required - the data to be decrypted.
    • password - required - the password to be used in decryption.
  • encrypt(string, password)
    • string - required - the data to be encrypted.
    • password - required - the password to be used in encryption.

Keywords

FAQs

Package last updated on 19 Sep 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