Questions tagged [crypto]
The crypto tag has no usage guidance.
4
questions
3
votes
1
answer
137
views
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
387
views
base58 prefixes
Module Prefix in src/lib_crypto/base58.ml 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
151
views
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
195
views
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 ...