https://github.com/mrnazu/lambert-signatures
Lamport Signatures Problem Set 1: Hash-based Signature Schemes
https://github.com/mrnazu/lambert-signatures
blockchain hash lamport-algorithm lamport-signature-scheme signatures
Last synced: 2 months ago
JSON representation
Lamport Signatures Problem Set 1: Hash-based Signature Schemes
- Host: GitHub
- URL: https://github.com/mrnazu/lambert-signatures
- Owner: mrnazu
- License: bsd-2-clause
- Created: 2024-11-08T23:28:06.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-09T16:34:21.000Z (6 months ago)
- Last Synced: 2025-01-18T06:46:49.062Z (4 months ago)
- Topics: blockchain, hash, lamport-algorithm, lamport-signature-scheme, signatures
- Language: JavaScript
- Homepage:
- Size: 63.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Problem Set 1: Hash-based Signature Schemes
In the first part of this problem set, I’ll implement Lamport signatures. In the second part, I’ll take advantage of incorrect usage to forge signatures.In this problem set, I will build a hash-based signature system: https://en.wikipedia.org/wiki/Lamport_signature
Implement the `genRandomNum()`, `genPublicKey()` functions in nodejs. `sign()` and `verify()` functions as well.
Hint: I will need to look at the bits in each byte in a hash. I can use bit operators in order to do so.
https://mrnazu.medium.com/lamport-signature-with-hash-based-signature-schemes-problem-set-11c09aa1e740