-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Account creation with custom N, R, P parameters #35
Comments
hi,i get the same problem with you!! can you tell me how to change the N,R,P to make decrypt time quick? |
The geth mobile lib uses N = 4096 and P = 6 |
change N adn P value make account create faster is good..but does it have security risks? the hacker decrypt it quick also. |
We could potentially lower these values for the Android client. I'll follow up with the Go team on their justification for lowering the value - unless one of you can already provide this insight? |
In the geth mobile library for Android (https://ethereum.github.io/go-ethereum/downloads/) in the AccountManager, they are using the Geth.LightScryptN object with value 4096 and Geth.LightScryptP with value 6 to create a new account. |
This functionality has been checked in - expect to see in web3j-android release 1.2.0 in the next week or so. See https://github.com/web3j/web3j/blob/master/src/main/java/org/web3j/crypto/Wallet.java for details. |
Hi,
I'm working with Android apps, and the decrypt time for the account is very high.
So i need to create accounts with different N, R, P so it doesn't take that much time.
Is it possible to add a new function in the Wallet class with the possibility to specify these parameters?
Thank you.
The text was updated successfully, but these errors were encountered: