Comments (1)
First, private_key
is 64 bytes, not 64 bits. The first 32 bytes store a curve point, and as you can see some bits are ignored/set to make it valid:
Line 10 in 7fa6712
The second 32 bytes store a second portion of the hash of the seed as it's needed for Ed25519's generation of r
.
from ed25519.
Related Issues (16)
- Get public key (and seed) from private key HOT 3
- ed25519_sign() is significantly different from current libsodium/SUPERCOP ref10 implementations (and generates incompatible output) HOT 5
- Possible issues regarding signed to unsigned conversions. HOT 3
- Some patches before deletion of fork branches
- Secret key generation HOT 1
- Multisig HOT 1
- key recovery from protocols using ed25519_add_scalar HOT 6
- ed25519 decode / decompress
- ed25519_add_scalar and DH key exchange
- why private_key + 32 in sign.c HOT 1
- ed25519 private key should be 32 bytes long. HOT 2
- ⚠️ Caution when using this library: The private keys are incompatible with other ed25519 implementations. HOT 2
- ge_madd and ge_add difference HOT 1
- Inconsistent signature results HOT 1
- vcpkg release ; request to use `#include <ed25519/`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ed25519.