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

libsodium

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libsodium - npm Package Compare versions

Comparing version 0.7.3 to 0.7.4

README.md~

2

package.json
{
"name": "libsodium",
"version": "0.7.3",
"version": "0.7.4",
"description":

@@ -5,0 +5,0 @@ "The Sodium cryptographic library compiled to pure JavaScript (raw library, no wrappers)",

@@ -6,3 +6,3 @@ # libsodium.js

The [sodium](https://github.com/jedisct1/libsodium) crypto library
compiled to WebAssembly and pure Javascript using
compiled to WebAssembly and pure JavaScript using
[Emscripten](https://github.com/kripken/emscripten), with

@@ -12,4 +12,4 @@ automatically generated wrappers to make it easy to use in web

The complete library weights 188 Kb (minified, gzipped, includes pure js +
webassembly versions) and can run in a web browser as well as server-side.
The complete library weights 188 KB (minified, gzipped, includes pure JS +
WebAssembly versions) and can run in a web browser as well as server-side.

@@ -96,3 +96,3 @@ ### Compatibility

The `sodium.js` file includes both the core libsodium functions, as
well as the higher-level Javascript wrappers. It can be loaded
well as the higher-level JavaScript wrappers. It can be loaded
asynchronusly.

@@ -128,3 +128,3 @@

* `memcmp()` (constant-time check for equality, returns `true` or `false`)
* `compare() (constant-time comparison. Values must have the same
* `compare()` (constant-time comparison. Values must have the same
size. Returns `-1`, `0` or `1`)

@@ -200,6 +200,3 @@ * `memzero()` (applies to `Uint8Array` objects)

The `crypto_pwhash_*` function set is also only included in the Sumo
version. The high amount of heap memory (allocated after loading)
required by these functions may not be desirable when they are not
being used.
The `crypto_pwhash_*` function set is included in both versions.

@@ -214,11 +211,11 @@ The sumo version is slightly larger than the standard version, and

* emscripten
* Emscripten
* binaryen
* git
* nodejs
* NodeJS
* make
* uglify-es (`yarn global add uglify-es`)
Running `make` will clone libsodium, build it, test it, build the
wrapper, and create the modules and minified distribution files.
Running `make` will install the dev dependencies, clone libsodium,
build it, test it, build the wrapper, and create the modules and
minified distribution files.

@@ -225,0 +222,0 @@ ## Authors

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

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