thejh/node-curve25519
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
########################### THIS IS OUTDATED ############################ ### There is a maintained fork at ### ### <https://github.com/volschin/node-curve25519>, try that instead. ### ### Or, if possible, use libsodium instead of working with curve25519 ### ### directly. ### ######################################################################### This is a binding to the curve25519-donna library for node. Usage: var curve = require('curve25519'); Methods ======= `curve.makeSecretKey(secret)` ----------------------------- Provide it with a 32-bytes-long `Buffer` and it will be modified in-place in order to be a usable secret key. Doesn't return anything. `curve.derivePublicKey(secret)` ------------------------------- Provide it with your secret key as a 32-bytes-long `Buffer` and get a `Buffer` containing your public key as the result. `curve.deriveSharedSecret(mysecret, hispublic)` ----------------------------------------------- Derive your shared secret with someone else by giving this function two 32-bytes-long buffers containing your secret key and the other persons public key. Returns a `Buffer`. Installing ========== Not yet on npm, I will only put it there when it's stable. Just work with `git clone` and `npm link`.
About
[ABANDONED] SEE README
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published