Coder Social home page Coder Social logo

Comments (6)

bigstar119 avatar bigstar119 commented on May 18, 2024

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.

fraspadafora avatar fraspadafora commented on May 18, 2024

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.

bigstar119 avatar bigstar119 commented on May 18, 2024

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.

conor10 avatar conor10 commented on May 18, 2024

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.

fraspadafora avatar fraspadafora commented on May 18, 2024

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.

conor10 avatar conor10 commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.