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

libskynet

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libskynet - npm Package Compare versions

Comparing version 0.0.38 to 0.0.39

2

dist/registry.js

@@ -120,3 +120,3 @@ import { blake2b } from "./blake2b.js";

let entropyInput = new Uint8Array(keypairTag.length + seed.length);
entropyInput.set(seed);
entropyInput.set(seed, 0);
entropyInput.set(keypairTag, seed.length);

@@ -123,0 +123,0 @@ let keypairEntropy = sha512(entropyInput);

@@ -11,4 +11,6 @@ import { DICTIONARY_UNIQUE_PREFIX, dictionary } from "./dictionary.js";

function deriveChildSeed(parentSeed, derivationTag) {
let u8 = new TextEncoder().encode(" - " + derivationTag);
let preimage = new Uint8Array(parentSeed.length + u8.length);
let tagU8 = new TextEncoder().encode(" - " + derivationTag);
let preimage = new Uint8Array(parentSeed.length + tagU8.length);
preimage.set(parentSeed, 0);
preimage.set(tagU8, parentSeed.length);
let hash = sha512(preimage);

@@ -15,0 +17,0 @@ return hash.slice(0, SEED_BYTES);

@@ -7,3 +7,3 @@ declare type dataFn = (data?: any) => void;

loginComplete: boolean;
kernelLoaded: boolean;
kernelLoaded: string;
logoutComplete: boolean;

@@ -10,0 +10,0 @@ }

{
"name": "libskynet",
"version": "0.0.38",
"version": "0.0.39",
"description": "helper library to interact with skynet's low level primitives",

@@ -5,0 +5,0 @@ "main": "dist/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