Skip to content

Commit 233c553

Browse files
authored
Merge branch 'main' into sodium-port
2 parents b357ddb + 9626380 commit 233c553

30 files changed

Lines changed: 3092 additions & 2787 deletions

.github/workflows/prebuild.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ jobs:
6666
if: ${{ matrix.platform == 'darwin' || matrix.platform == 'ios' }}
6767
- run: choco install zig
6868
if: ${{ matrix.platform == 'win32' }}
69-
- run: choco upgrade llvm
70-
if: ${{ matrix.platform == 'win32' }}
7169
- run: npm install -g bare-make
7270
- run: npm install
7371
- run: bare-make generate --platform ${{ matrix.platform }} --arch ${{ matrix.arch }} ${{ matrix.flags }}

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ jobs:
3333
if: ${{ matrix.platform == 'darwin' }}
3434
- run: choco install zig
3535
if: ${{ matrix.platform == 'win32' }}
36-
- run: choco upgrade llvm
37-
if: ${{ matrix.platform == 'win32' }}
3836
- run: npm install -g bare-runtime bare-make
3937
- run: npm install
4038
- run: bare-make generate --platform ${{ matrix.platform }} --arch ${{ matrix.arch }}

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ sodium.crypto_secretbox_easy(ciphertext, message, nonce, key)
3333

3434
console.log('Encrypted message:', ciphertext)
3535

36-
var plainText = Buffer.alloc(
37-
ciphertext.length - sodium.crypto_secretbox_MACBYTES
38-
)
36+
var plainText = Buffer.alloc(ciphertext.length - sodium.crypto_secretbox_MACBYTES)
3937

4038
if (!sodium.crypto_secretbox_open_easy(plainText, ciphertext, nonce, key)) {
4139
console.log('Decryption failed!')

0 commit comments

Comments
 (0)