Skip to main content

Questions tagged [cryptography]

For questions regarding cryptography within Stellar.

Filter by
Sorted by
Tagged with
5 votes
2 answers
406 views

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

Is it possible to perform public key encryption flow for elliptic-curve cryptography? I need to implement the following scenario: Alice generates a message. Alice encrypts it with Bob's Stellar's ...
Evgeny Svirsky's user avatar
1 vote
2 answers
66 views

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

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 ...
Evgeny Svirsky's user avatar
5 votes
1 answer
187 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 ...
Brutus123's user avatar
  • 455
3 votes
1 answer
106 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 ...
Brutus123's user avatar
  • 455
1 vote
1 answer
153 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 ...
jagstock's user avatar
  • 539
10 votes
1 answer
922 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?
Joao Junior's user avatar