Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cryptography]

For questions regarding cryptography within Stellar.

1
vote
1answer
17 views

Encrypt with Public Key and decrypt with Private Key using elliptic-curve cryptography

everybody. Is it possible to perform public key encryption flow for elliptic-curve cryptography? https://en.wikipedia.org/wiki/Public-key_cryptography I need to implement the following scenario: ...
1
vote
2answers
33 views

Encrypt some string with several Public Keys and decrypt with any of Private key?

I need to encrypt some string, let's say "Hello world" with several Public Keys and be able to decrypt this hash with any of Private Keys. Could you please tell if it possible and if so, the way to do ...
4
votes
1answer
42 views

What is done to create a stellar AccountID aside from the generated raw secret and derived pub/priv key?

I am curious on what is done when a public/private key pair is created on Stellar. I understand a key pair is generated with ed25519, but why are there additional pre-fix/postfix involved? Why would ...
2
votes
1answer
42 views

What are the differences between Ripple and Stellar addresses

What are the differences between Ripple and Stellar public/private key pairs? I understand the cryptography and libraries that Ripple and Stellar use are quite similar, but are they practically ...
1
vote
1answer
88 views

Alternate signature - hash(x)

This is regarding sha256Hash field in signer operation. let hash = sha256.createHash('sha256').update(message).digest('hex'); Here the input parameter message should be 256 bit value. Assuming my ...
10
votes
1answer
352 views

Which cryptographic algorithm is used to generate the secret and public keys?

The Stellar keypair is generated easily from various SDKs, but which algorithm do the SDKs use?