Questions tagged [crypto]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
83 views

Is there a way to create a keystore file on Tezos that is similar to Ethereum's keystore V3?

Talking about this specifically: https://web3js.readthedocs.io/en/v1.2.11/web3-eth-accounts.html#encrypt Takes a private key and outputs a JSON keystore file.
hlvntn's user avatar
  • 111
4 votes
1 answer
258 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 ...
keefertaylor's user avatar
0 votes
1 answer
193 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.
intosKai's user avatar
  • 151
5 votes
2 answers
225 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 ...
Simon B.Robert's user avatar
4 votes
2 answers
546 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)?
Lacramioara's user avatar