Comparing version 0.7.3 to 0.7.4
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
5
520888
1959
224