Comments (6)
hi,i get the same problem with you!! can you tell me how to change the N,R,P to make decrypt time quick?
from web3j.
The geth mobile lib uses N = 4096 and P = 6
That can be decrypted in 10 seconds more or less.
For this reason I think it is useful to have the possibility to set the N,P and R parameters when an account is created.
from web3j.
change N adn P value make account create faster is good..but does it have security risks? the hacker decrypt it quick also.
from web3j.
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?
from web3j.
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.
Of course it is easier to decrypt, but I think it is the compromise to have something usable.
I suggest to store big amounts of money in mist wallets, and less quantity in mobile accounts.
from web3j.
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.
from web3j.
Related Issues (20)
- No AccessList field in EIP1559 transaction HOT 1
- log filter not work, case: on reinstallFilter() called, if getInitialFilterLogs() throw Exception, schedule is Cancelled on reinstallFilter.
- Generated Contract Error: Cannot cast from List to byte[]
- Wrapper Generation with Array of Structs Parameter still an issue in 4.10.3
- Could you please help release the package? This bug has affected normal use: https://github.com/web3j/web3j/pull/1962 HOT 1
- Filter Exception, Invalid request: filter not found
- Generated wrapper around struct containing a `address[]` member can't be instantiated
- FastRawTransactionManager's resetNonce() will bring its nonce field out of sync
- Allow the use of a struct without having a corresponding Java class
- Update BouncyCastle in org.web3j:core:4.8.7-android HOT 3
- Build fails due to dependency jc-kzg-4844 since version 4.11.0 HOT 7
- Create / demonstrate in tests method for recovering address from signTypedData
- CVE-2023-33201 transitive vulnerable dependency
- Solidity multidimensional array as return
- Quick Start command not working HOT 1
- Error: Stack too deep. HOT 2
- Could not set unknown property 'outputDir' for Main Solidity Sources of type org.gradle.api.internal.file.DefaultSourceDirectorySet. HOT 4
- Fail to install web3j cli on Linux HOT 1
- what is the output parameter (Type referrence) for method returning empty list e.g "outputs": [] HOT 1
- Generated Java code does not compile (symbol LinkReference does not exist) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web3j.