Comments (2)
@csjones thanks, a great help
from secp256k1.swift.
Hi @FaiChou
Looks like you are trying to compare signatures with a compact representation. Have you tried using the compactRepresentation
property?
let signature = try! privateKey.ecdsa.signature(for: messageData).compactRepresentation
from secp256k1.swift.
Related Issues (20)
- Example usage HOT 2
- objc HOT 1
- signature using the already hashed hex string value HOT 1
- Can't use with SPM HOT 1
- 能否给一个运行结果 HOT 2
- Can I get Public Key from Private key with length 65 bits? HOT 5
- Bindings/API for deriving a public key from a message digest and a signature HOT 15
- Why my web app and ios app gets different shared secret? HOT 13
- Code example of signing using hashed message? HOT 4
- library release on cocoapods? HOT 10
- Could not find module 'secp256k1' for target 'x86_64-apple-ios-simulator' HOT 3
- nvm I need the podspec for this, i'm so sorry... HOT 2
- Contructing a PublicKey with rawRepresentation fails with incorrect size HOT 3
- value of type `secp256k1_surjectionproof` has no member `data` HOT 13
- Do you have any examples of how you would sign a taproot input using this library? HOT 1
- Did library already support sign a taproot input? HOT 4
- Taproot address format HOT 9
- Randomly created secp256k1 private key is 128 bytes long HOT 1
- Cannot add package as dependency SPM HOT 1
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 secp256k1.swift.