You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mleku 9f39ca8a62
Refactor export functionality in App.svelte to support both GET and POST methods for event exports, enhancing flexibility in user permissions. Update server-side handling to accommodate pubkey filtering and improve response handling for file downloads. Adjust UI components to reflect these changes, ensuring a seamless user experience.
3 months ago
..
base58 Migrate internal module imports to unified package path. 4 months ago
bech32 Migrate internal module imports to unified package path. 4 months ago
chaincfg Migrate internal module imports to unified package path. 4 months ago
chainhash Refactor export functionality in App.svelte to support both GET and POST methods for event exports, enhancing flexibility in user permissions. Update server-side handling to accommodate pubkey filtering and improve response handling for file downloads. Adjust UI components to reflect these changes, ensuring a seamless user experience. 3 months ago
ecdsa Refactor export functionality in App.svelte to support both GET and POST methods for event exports, enhancing flexibility in user permissions. Update server-side handling to accommodate pubkey filtering and improve response handling for file downloads. Adjust UI components to reflect these changes, ensuring a seamless user experience. 3 months ago
musig2 Refactor export functionality in App.svelte to support both GET and POST methods for event exports, enhancing flexibility in user permissions. Update server-side handling to accommodate pubkey filtering and improve response handling for file downloads. Adjust UI components to reflect these changes, ensuring a seamless user experience. 3 months ago
schnorr Migrate internal module imports to unified package path. 4 months ago
secp256k1 Refactor export functionality in App.svelte to support both GET and POST methods for event exports, enhancing flexibility in user permissions. Update server-side handling to accommodate pubkey filtering and improve response handling for file downloads. Adjust UI components to reflect these changes, ensuring a seamless user experience. 3 months ago
taproot Migrate internal module imports to unified package path. 4 months ago
wire Migrate internal module imports to unified package path. 4 months ago
LICENSE initial addition of essential crypto, encoders, workflows and LLM instructions 5 months ago
README.md Refactor export functionality in App.svelte to support both GET and POST methods for event exports, enhancing flexibility in user permissions. Update server-side handling to accommodate pubkey filtering and improve response handling for file downloads. Adjust UI components to reflect these changes, ensuring a seamless user experience. 3 months ago
bench_test.go Migrate internal module imports to unified package path. 4 months ago
btcec.go Migrate internal module imports to unified package path. 4 months ago
btcec_test.go initial addition of essential crypto, encoders, workflows and LLM instructions 5 months ago
ciphering.go Migrate internal module imports to unified package path. 4 months ago
ciphering_test.go Migrate internal module imports to unified package path. 4 months ago
curve.go Migrate internal module imports to unified package path. 4 months ago
doc.go initial addition of essential crypto, encoders, workflows and LLM instructions 5 months ago
error.go Migrate internal module imports to unified package path. 4 months ago
field.go Migrate internal module imports to unified package path. 4 months ago
field_test.go Migrate internal module imports to unified package path. 4 months ago
fuzz_test.go Migrate internal module imports to unified package path. 4 months ago
modnscalar.go Migrate internal module imports to unified package path. 4 months ago
pubkey.go Migrate internal module imports to unified package path. 4 months ago
pubkey_test.go Migrate internal module imports to unified package path. 4 months ago
sec2-v2.pdf initial addition of essential crypto, encoders, workflows and LLM instructions 5 months ago
seckey.go Migrate internal module imports to unified package path. 4 months ago

README.md

realy.lol/pkg/ec

This is a full drop-in replacement for github.com/btcsuite/btcd/btcec eliminating the import from the Decred repository, and including the chainhash helper functions, needed for hashing messages for signatures.

The decred specific tests also have been removed, as well as all tests that use blake256 hashes as these are irrelevant to bitcoin and nostr. Some of them remain present, commented out, in case it is worth regenerating the vectors based on sha256 hashes, but on first blush it seems unlikely to be any benefit.

This includes the old style compact secp256k1 ECDSA signatures, that recover the public key rather than take a key as a parameter as used in Bitcoin transactions, the new style Schnorr signatures, and the Musig2 implementation.

BIP 340 Schnorr signatures are implemented including the variable length message signing with the extra test vectors present and passing.

The remainder of this document is from the original README.md.


Package ec implements elliptic curve cryptography needed for working with Bitcoin. It is designed so that it may be used with the standard crypto/ecdsa packages provided with Go.

A comprehensive suite of test is provided to ensure proper functionality.

Package btcec was originally based on work from ThePiachu which is licensed underthe same terms as Go, but it has signficantly diverged since then. The btcsuite developers original is licensed under the liberal ISC license.

Installation and Updating

$ go get mleku.dev/pkg/ec@latest