Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janos/beetcec
https://github.com/janos/beetcec
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/janos/beetcec
- Owner: janos
- Created: 2024-02-06T12:41:59.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-06T12:42:38.000Z (9 months ago)
- Last Synced: 2024-04-14T22:51:07.849Z (7 months ago)
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bee BTCEC v1 vs v2
This repository validates byte compatibility between
- github.com/btcsuite/btcd v0.22.3
- github.com/btcsuite/btcd/btcec/v2 v2.3.2that are used in the crypto functions in github.com/ethersphere/bee
by the initial changes in .```sh
go test -v -count 1 .
```It validates cross-compatibility between functions:
- `crypto.EncodeSecp256k1PrivateKey` and `crypto.DecodeSecp256k1PrivateKey`
- `crypto.Signer.Sign` and `crypto.Recover`
- `pss.Wrap` and `pss.Unwrap`With private keys generated with both v1 and v2 `btcec.S256()` curve function.