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

doichain

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doichain - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

7

lib/decryptAES.js
const CryptoJS = require("crypto-js");
export const decryptAES = (encryptedSeedPhrase, password) => {
const decrypted = CryptoJS.AES.decrypt(encryptedSeedPhrase, password);
return decrypted.toString(CryptoJS.enc.Utf8);
};
const our_password = password ? password : "mnemonic"
const decrypted = CryptoJS.AES.decrypt(encryptedSeedPhrase, our_password);
return decrypted.toString(CryptoJS.enc.Utf8)
};
{
"name": "doichain",
"version": "0.0.12",
"version": "0.0.13",
"description": "A js-Doichain library. The goal is to fully cover the Doichain protocoll",

@@ -5,0 +5,0 @@ "main": "index.js",

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