libsodium 0.7.11 → 0.7.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/dist/modules/libsodium.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,7 @@ Supported browsers/JS engines:
|
|
|
20
20
|
* Firefox >= 21
|
|
21
21
|
* Mobile Safari on iOS >= 8.0 (older versions produce incorrect results)
|
|
22
22
|
* NodeJS
|
|
23
|
+
* Bun
|
|
23
24
|
* Opera >= 15
|
|
24
25
|
* Safari >= 6 (older versions produce incorrect results)
|
|
25
26
|
|
|
@@ -52,12 +53,6 @@ The modules are also available on npm:
|
|
|
52
53
|
- [libsodium-wrappers](https://www.npmjs.com/package/libsodium-wrappers)
|
|
53
54
|
- [libsodium-wrappers-sumo](https://www.npmjs.com/package/libsodium-wrappers-sumo)
|
|
54
55
|
|
|
55
|
-
If you prefer Bower:
|
|
56
|
-
|
|
57
|
-
```sh
|
|
58
|
-
bower install libsodium.js
|
|
59
|
-
```
|
|
60
|
-
|
|
61
56
|
### Usage (as a module)
|
|
62
57
|
|
|
63
58
|
Load the `libsodium-wrappers` module. The returned object contains a `.ready`
|
|
@@ -199,10 +194,11 @@ Alternatively, the "sumo" version, available in the
|
|
|
199
194
|
the symbols from the original library. This includes undocumented,
|
|
200
195
|
untested, deprecated, low-level and easy to misuse functions.
|
|
201
196
|
|
|
202
|
-
The `crypto_pwhash_*` function set is included in
|
|
197
|
+
The `crypto_pwhash_*` function set is only included in the sumo version.
|
|
203
198
|
|
|
204
|
-
The sumo version is slightly larger than the standard version,
|
|
205
|
-
should be used only if you really need the extra symbols
|
|
199
|
+
The sumo version is slightly larger than the standard version, reserves
|
|
200
|
+
more memory, and should be used only if you really need the extra symbols
|
|
201
|
+
it provides.
|
|
206
202
|
|
|
207
203
|
### Compilation
|
|
208
204
|
|
|
@@ -212,13 +208,17 @@ need to be installed on your system:
|
|
|
212
208
|
* Emscripten
|
|
213
209
|
* binaryen
|
|
214
210
|
* git
|
|
215
|
-
*
|
|
211
|
+
* bun
|
|
216
212
|
* make
|
|
217
213
|
|
|
218
214
|
Running `make` will install the dev dependencies, clone libsodium,
|
|
219
215
|
build it, test it, build the wrapper, and create the modules and
|
|
220
216
|
minified distribution files.
|
|
221
217
|
|
|
218
|
+
## Related projects
|
|
219
|
+
|
|
220
|
+
* [react-native-libsodium](https://github.com/serenity-kit/react-native-libsodium): React Native bindings to Libsodium matching the libsodium-wrappers package API
|
|
221
|
+
|
|
222
222
|
## Authors
|
|
223
223
|
|
|
224
224
|
Built by Ahmad Ben Mrad, Frank Denis and Ryan Lester.
|