https://github.com/redsolver/pinenacl-bug-demo
https://github.com/redsolver/pinenacl-bug-demo
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/redsolver/pinenacl-bug-demo
- Owner: redsolver
- Created: 2021-07-18T22:03:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-18T22:07:00.000Z (almost 4 years ago)
- Last Synced: 2025-01-26T11:11:12.389Z (3 months ago)
- Language: Dart
- Size: 77.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# pinenacl SecretBox bug example
The different outputs of the same encryption can be found in the `output/` directory.
I also included some hex-dumps (the `.hexyl` files) for easy diff comparison. (For example with `code --diff output/libsodium.enc.hexyl output/pinenacl.enc.hexyl`)
## How to run
### pinenacl
```
dart bin/pinenacl.dart
```### libsodium
```
dart bin/libsodium.dart
```### TweetNaCl
```
npm install
node index.js
```