Giter Club home page Giter Club logo

Comments (3)

routman avatar routman commented on July 24, 2024

Brainwallet.io uses the scrypt standard. I just double-checked myself, and got matching results.

I used the link you provided above, entered "hello" as the passphrase, "world" as the salt, N=262144, r=8, p=1, and # bytes = 32. The result was: 1752aa0001d505168a308bac976ee2c0e94e7ca8235c6de404e6428eba946796

I did the same thing in brainwallet.io, and the result was identical. If you want to see for yourself, download the HTML, then insert the following directly below line 1414:

alert(result);

You should see the same scrypt result generated by the github link above.

from brainwallet.io.

aknik avatar aknik commented on July 24, 2024

You are right.
The 'problem' is that brainwallet.io uses the result as passphrase (sha256)for generating the private key not as
the private key itself (or secret exponent). My fault. I'm sorry.

Thanks for your fast reply. Best regards.

from brainwallet.io.

routman avatar routman commented on July 24, 2024

No worries!

There's actually a very good reason why I am also feeding it through a round of SHA256. If brainwallet.io were to ever disappear, and you don't have a copy of the website, you could still recover your keys using the following method:

  1. Go to http://kclnn.github.io/js-scrypt-async/test_scrypt_browser.html to generate a scrypt key.
  2. Go to https://bitaddress.org and paste that key into the brainwallet generator.

You will arrive at the same keys.

from brainwallet.io.

Related Issues (3)

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.