sodium-native
Advanced tools
+2
-1
@@ -12,3 +12,4 @@ cmake_minimum_required(VERSION 3.25) | ||
| fetch_package("github:jedisct1/libsodium#stable" SOURCE_DIR sodium) | ||
| fetch_package("github:jedisct1/libsodium#e18eee6" SOURCE_DIR sodium) | ||
| fetch_package("github:holepunchto/libjstl#098664c") | ||
@@ -15,0 +16,0 @@ |
+9
-2
| { | ||
| "name": "sodium-native", | ||
| "version": "5.0.10", | ||
| "version": "5.1.0", | ||
| "description": "Low level bindings for libsodium", | ||
@@ -14,4 +14,11 @@ "main": "index.js", | ||
| ], | ||
| "imports": { | ||
| "assert": { | ||
| "bare": "bare-assert", | ||
| "node": "assert" | ||
| } | ||
| }, | ||
| "addon": true, | ||
| "dependencies": { | ||
| "bare-assert": "^1.2.0", | ||
| "require-addon": "^1.1.0", | ||
@@ -27,3 +34,3 @@ "which-runtime": "^1.2.1" | ||
| "prettier": "^3.6.2", | ||
| "prettier-config-holepunch": "^1.0.0" | ||
| "prettier-config-holepunch": "^2.0.0" | ||
| }, | ||
@@ -30,0 +37,0 @@ "scripts": { |
+1
-3
@@ -36,5 +36,3 @@ # sodium-native | ||
| var plainText = Buffer.alloc( | ||
| ciphertext.length - sodium.crypto_secretbox_MACBYTES | ||
| ) | ||
| var plainText = Buffer.alloc(ciphertext.length - sodium.crypto_secretbox_MACBYTES) | ||
@@ -41,0 +39,0 @@ if (!sodium.crypto_secretbox_open_easy(plainText, ciphertext, nonce, key)) { |
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
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
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
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
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
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
18251221
4.79%2711
49.61%3
50%52
-3.7%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added