Socket
Socket
Sign inDemoInstall

cryptographic-js

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cryptographic-js - npm Package Versions

1.0.2

Diff

Changelog

Source

[1.0.2] - 2021-09-18

  • Fixed IV length check error message. Refactor the example code.
takuya-motoshima
published 1.0.1 •

Changelog

Source

[1.0.1] - 2020-12-02

  • Added format parameters for encrypted data to the encryption and decryption functions.

    // Encrypt.
    const cipher = new AES256CTR();
    const plainText = 'Hello, World!';
    const key = cipher.createKey('hex');
    const iv = cipher.createIV('hex');
    
    // Get encrypted data in base64 format.
    const encoding = 'base64';
    const encrypted = cipher.encrypt(plainText, key, iv, encoding);
    
    // Decrypt.
    const decrypted = cipher.decrypt(encrypted, key, iv, encoding);
    
takuya-motoshima
published 1.0.0 •

Changelog

Source

[1.0.0] - 2020-12-01

  • First release.
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