Questions tagged [crypto]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer

Secp256k1 with Non-Deterministic Signatures

I am using an HSM which signs bytes using the secp256k1 curve. For a given set of input bytes, I blake2b hash them and sign them. My understanding is that most cryptocurrencies use deterministic ...
4 votes
2 answers

base58 prefixes

Module Prefix in src/lib_crypto/ has lines such as let ed25519_public_key_hash = "\006\161\159" (* tz1(36) *). How does one get "\006\161\159" from tz1(36)?
0 votes
1 answer

How to sign transaction from tz2 address?

Can i sign my transaction if i use secp256k1? And how it do? If i'm using sign function from eztz lib, i takes TypeError: invalid privateKey length Private key coded using secp256k1 curve.
4 votes
2 answers

Unable to get consistent tz2 (secp256pk1) signature

I am trying to reproduce the signing algorithm used for tz2 address which uses the secp256pk1 elliptic curve. My problem is that when I try to verify if the signature is valid with the tezos cli, I ...