Categories
Cryptography

Question on DER-encoding of signature pair (r, s)

I’ve been working through the byte-level details of bitcoin transactions and I need some help on DER-encoding.Continue readingQuestion on DER-encoding of signature pair (r, s)

Categories
Cryptography

How does “recid” variable work in libspec256k1 library?

I’m trying to understand how does “recid” (Recovery ID) variable work in libspec256k1 library (with C language).Continue readingHow does “recid” variable work in libspec256k1 library?

Categories
Cryptography

Using secp256k1 endomorphism

The existence of the endomorphism is a roughly 20% speedup in a plain multi-exp due to halving the number of doublings.Continue readingUsing secp256k1 endomorphism

Categories
Cryptography

Encrypting messages question

It isn’t the same with signing/verifying that you prove you own the address.Continue readingEncrypting messages question

Categories
Cryptography

Bitcoind does not like ECDSA (r, s) pair produced by OpenSSL

I am writing transactions manually and have stumbled across a rather bizarre situation.Continue readingBitcoind does not like ECDSA (r, s) pair produced by OpenSSL