Skip to main content

Questions tagged [keypair]

For questions regarding Key Pairs within Stellar

Filter by
Sorted by
Tagged with
14 votes
2 answers
1k views

What is the best method for key validation?

In particular, the seed key, but really this applies to both. I'm looking for the best way to validate that a key is formed correctly. I know it has 56 chars and starts with "S" for seeds and "G" for ...
Brandon's user avatar
  • 325
10 votes
1 answer
913 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
9 votes
3 answers
292 views

Does the second letter of the public address having any meaning since it only appears to be one of four characters?

Does the second letter of the public address having any meaning since it only appears to be one of four characters? All accounts that I've looked at start with either GA, GB, GC or GD. Is there some ...
Jeff's user avatar
  • 404
6 votes
1 answer
688 views

Account address string length always 56?

Modeling DB table. Is the account id (public key) string length always 56 and always will be?
marcinx's user avatar
  • 586
5 votes
3 answers
679 views

How to generate a Stellar keypair without the SDKs?

I want to develop SDKs for other languages and would like to start by generating keypairs so what would be the steps starting from scratch using a crypto lib? The steps I am looking for are: generate ...
Kuyawa's user avatar
  • 1,328
5 votes
1 answer
121 views

Stellar Java Sdk key validation?

In JavaScript SDK we have method isValidEd25519PublicKey for Stellar address validation. But in Java SDK there is no such method. How can I validate Stellar address with Java SDK?
Thái Ngô's user avatar
5 votes
1 answer
179 views

How can I do asymmetric encryption and decryption?

How can I do asymmetric encryption by using Stellar's private key of sender and Stellar's public key of receiver and vice-versa in case of case decryption? I had gone through many methods but I am ...
pri's user avatar
  • 115
3 votes
2 answers
286 views

Verifying a transaction

For doing a payment from a distribution account i'd like to use the destination account as a channel. Therefore i'd like to implement the functionality as follows: there are 3 accounts involved: ...
Udo Polder's user avatar
3 votes
1 answer
137 views

Random crash upon calling KeyPair.random() on android

I'm trying to use the stellar sdk in an android app. So I downloaded the stellar sdk and generate it's jar and include it in as a external jar in my android app. To get it working I also had to add ...
berrytchaks's user avatar
2 votes
2 answers
682 views

How to verify a Transaction?

I sent a signed transaction through the internet to a cloud function that needs to verify that the signer is the valid one. My code: const bHMainKeys = Keypair.fromSecret(privateKey) if (...
Jesús Fuentes's user avatar
1 vote
1 answer
142 views

Account creation on stellarterm

The first step of an account creation on https://stellarterm.com is to generate a key-pair. I can log in using the secret key - the service returns me the public key, aka my wallet account ID. It's ...
maxint's user avatar
  • 303
1 vote
1 answer
76 views

How long is a keypair valid until an account is funded and created?

The documentation says: Stellar requires accounts to hold a minimum balance of 1 XLM before they actually exist. Until it gets a bit of funding, your keypair doesn’t warrant space on the ledger. How ...
villanuevaquelin's user avatar
0 votes
1 answer
50 views

What is the key format of a public key?

The documentation ( https://stellar.github.io/js-stellar-sdk/Keypair.html ) just describes what algorithm is used at the core. But that algorithm produces bits. What encoding is used on these bits to ...
user5507's user avatar
0 votes
0 answers
47 views

If Stellar key pairs are Ed25519, does this mean that minisign keys can be as Stellar keys?

Can I use minisign keys, which are ed25519, as unique Stellar keypairs? https://stellar.github.io/js-stellar-sdk/Keypair.html https://jedisct1.github.io/minisign/
startrek's user avatar
0 votes
1 answer
135 views

How to generate a keypair correctly with Stellar/go?

Take test seed here: https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0005.md seed: "e0eec84fe165cd427cb7bc9b6cfdef0555aa1cb6f9043ff1fe986c3c8ddd22e3" correct result: m/...
User's user avatar
  • 1
0 votes
1 answer
1k views

How can I recover XLM from a BlockEQ wallet?

I have a chunk of XLM sitting in a BlockEQ wallet on OS X. Every "send" operation seems to result in a "payment failed" error. Is there another way to extract the funds? BlockEQ is using a "24 words" ...
tlossen's user avatar
  • 103