soneso / stellar-java-mnemonic Goto Github PK
View Code? Open in Web Editor NEWA Java library that can be used to create mnemonics for the Stellar Network (e.g. for your Android app)
License: Apache License 2.0
A Java library that can be used to create mnemonics for the Stellar Network (e.g. for your Android app)
License: Apache License 2.0
From the SecretKeyFactory docs createSeed only supports API 26+ with the current algorithm.
Could we overload this method so it uses a different algorithm based on the API level of the device?
Hi everyone. We use your library in our product which is Wallet based on Stellar network and I faced an issue working with Firebase SDK.
These lines cause problems on Android P in our case:
Security.removeProvider("BC");
Security.insertProviderAt(new BouncyCastleProvider(), 1);
Https requests get stuck when Firebase API updates certificates or something.
I cannot have control over requests inside of Firebase SDK. And this bug happens at some point after use of app & all Firebase requests not working after this point.
This is the exception I get from Firebase when this issue appears:
error sending network request POST https://firebasestorage.googleapis.com
java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: AndroidOpenSSL, class: com.android.org.conscrypt.DefaultSSLContextImpl)
at javax.net.ssl.DefaultSSLSocketFactory.throwException(SSLSocketFactory.java:284)
at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:306)
at com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:181)
at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:149)
at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:112)
at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184)
at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)
at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:461)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:407)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:538)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
For example Stellarx uses 15 words.
One possible solution is to make the constructor of Strength public
private Strength(int rawValue) {
this.rawValue = rawValue;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.