https://github.com/bethanyuo/crypto_signatures
Popular Cryptographic Algorithms using various Crypto Libraries: Signatures
https://github.com/bethanyuo/crypto_signatures
algorithms crypto crypto-algorithms crypto-libraries crypto-signatures cryptography javascript python signatures
Last synced: 30 days ago
JSON representation
Popular Cryptographic Algorithms using various Crypto Libraries: Signatures
- Host: GitHub
- URL: https://github.com/bethanyuo/crypto_signatures
- Owner: bethanyuo
- Created: 2020-07-07T14:44:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T20:59:46.000Z (about 3 years ago)
- Last Synced: 2025-09-07T02:42:39.505Z (9 months ago)
- Topics: algorithms, crypto, crypto-algorithms, crypto-libraries, crypto-signatures, cryptography, javascript, python, signatures
- Language: Python
- Homepage:
- Size: 4.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cryptography: Signatures
Write code to play with popular cryptographic algorithms using crypto libraries from various programming languages. And, write code to sign Ethereum and Bitcoin messages, derive blockchain addresses and more.
## Resources
Refer to the demos folder for sample calculations. Refer to the exercise-resources folder for sample inputs and outputs.
## Python Libraries
* [eth_keys](https://pypi.org/project/eth_keys/)
* [bitcoin](https://pypi.org/project/bitcoin/)
## JavaScript Libraries
* [eth-crypto](https://www.npmjs.com/package/eth-crypto)
* [bitcoinjs-lib](https://www.npmjs.com/package/bitcoinjs-lib)
## Ethereum Signature Creator
Write a program to calculate an Ethereum signature by given message and private key.
* Input: 256-bit private key + input text message.
* Output: signature + message.
## Ethereum Signature to Address
Write a program to find the signer’s Ethereum address by given message + Ethereum signature.
* Input: message + signature
* Output: address
## Ethereum Signature Verifier
Write a program to verify the Ethereum signature of given message by given Ethereum address.
* Input: message + signature + address
* Output: valid / invalid.
## Private Key to Bitcoin Address
Write a program to generate a Bitcoin address by given Bitcoin private key (WIF-encoded).
* Input: BTC Private Key
* Output: address
### Module
MI1: Module 5: E1