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

@zilliqa-js/crypto

Package Overview
Dependencies
Maintainers
4
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zilliqa-js/crypto - npm Package Compare versions

Comparing version 0.7.5 to 0.8.1-alpha.0

5

dist/keystore.js

@@ -16,3 +16,2 @@ "use strict";

// along with this program. If not, see <https://www.gnu.org/licenses/>.
var _this = this;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -73,3 +72,3 @@ var tslib_1 = require("tslib");

*/
exports.encryptPrivateKey = function (kdf, privateKey, passphrase) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
exports.encryptPrivateKey = function (kdf, privateKey, passphrase) { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var address, salt, iv, kdfparams, derivedKey, cipher, ciphertext;

@@ -131,3 +130,3 @@ return tslib_1.__generator(this, function (_a) {

*/
exports.decryptPrivateKey = function (passphrase, keystore) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
exports.decryptPrivateKey = function (passphrase, keystore) { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var ciphertext, iv, kdfparams, derivedKey, mac, cipher;

@@ -134,0 +133,0 @@ return tslib_1.__generator(this, function (_a) {

9

package.json
{
"name": "@zilliqa-js/crypto",
"version": "0.7.5",
"version": "0.8.1-alpha.0",
"description": "Core crypto utilities for signing/verification/hashing Zilliqa transactions.",

@@ -20,2 +20,5 @@ "main": "dist/index.js",

},
"optionalDependencies": {
"scrypt.js": "^0.3.0"
},
"dependencies": {

@@ -30,6 +33,6 @@ "@zilliqa-js/util": "0.7.1",

"randombytes": "^2.0.6",
"scrypt.js": "^0.2.0",
"scryptsy": "^2.1.0",
"uuid": "^3.3.2"
},
"gitHead": "4a13751610427d83d0cf9ad432e5be6b06b8f8c7"
"gitHead": "305e7f49bdb92a27c93190b153ee261bce93591f"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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