Questions tagged [cryptography]

The tag has no usage guidance.

4
votes
0answers
36 views

How to implement a signature checker for the signature scheme BLS?

We are willing to implement a signature checker for the signature scheme BLS (or BLS12-381). To the best of our knowledge, it may not be too painful since the smart contract language already supports ...
6
votes
1answer
46 views

How to calculate a random seed?

For example, we have 126/128 nonces, revealed in cycle 99. /chains/main/blocks/409599/context/raw/json/cycle/98/nonces?depth=1 If I understand correctly, using these nonces we can calculate the ...
3
votes
2answers
50 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 ...
7
votes
0answers
52 views

Get valid keys/address with ed25519

I read this great post on tz1 keys with ed25519. I also saw that the eztz lib doesn't support ed25519 keys. So I'm trying to understand briefly what is considered a valid procedure to get keys/...
9
votes
1answer
121 views

Why a reveal operation?

In order for everybody to be able to validate signatures, public keys have to be stored on the blockchain using reveal operations. As far as I understand, such operations are not needed in Ethereum, ...
5
votes
1answer
49 views

HD Derivation Path with P-256 signature

Is it possible to use P-256 encryption system on a ledger nano with tezbox? With Obsidian's command line tool, it is possible to use 3 types of signatures (Ed25519, Secp256k1, P-256). What are the ...
8
votes
1answer
123 views

What elliptic curves are used by Tezos?

Do tz1, tz2, tz3 addresses correspond to the different elliptic curves used by Tezos?
10
votes
2answers
58 views

Encryption within smart contract

I can't find much documentation on this, is it possible to encrypt/decrypt data within a tezos smart contract? So how would I do something like AES crypto (although does not matter much) in a smart ...