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 [keypair]

For questions regarding Key Pairs within Stellar

4
votes
1answer
29 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?
3
votes
2answers
91 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: ...
3
votes
1answer
53 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 ...
4
votes
1answer
168 views

Account address string length always 56?

Modeling DB table. Is the account id (public key) string length always 56 and always will be?
2
votes
1answer
169 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 (...
1
vote
1answer
84 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 ...
7
votes
2answers
123 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 ...
10
votes
1answer
408 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?
4
votes
2answers
206 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 ...
12
votes
2answers
491 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 ...