Comments (6)
Yes this is a good feature request. A way to input entropy into a text field will be added to the site.
from bitaddress.org.
I notice that mouse movements and timestamps continue to be folded into the seed, even after the first address is generated. Is that deliberate?
I am not sure if each operation that needs random numbers should use the exact same PRNG or seed a fresh one each time. I am guessing that it's easier to guarantee uniformity when you use a single PRNG, however I have no idea if it makes any practical difference in this case.
from bitaddress.org.
The rc4 prng is only seeded once, when bytes are first requested. seed* calls continue to mix the pool but they aren't used.
from bitaddress.org.
I noticed that the constructor to SecureRandom is called many times throughout the codebase, I wasn't sure if that re-read the seed or not. Javascript is not one of my main languages.
If it doesn't start a new PRNG what exactly is it constructing?
from bitaddress.org.
SecureRandom instances don't have their own state. They just expose nextByte, which uses module level state. I don't understand why it's designed like this..
from bitaddress.org.
The design of SecureRandom is from Tom Wu. I refactored it to a module pattern but kept nextBytes as an instance function because I left functions static or instance as they were in the original.
I can confirm that it only seeds once when the bytes are first requested. I think we should aim for one good seed and that reseeding would be for usability after a lot of mouse movements or copy/paste entropy from another source into a text field.
from bitaddress.org.
Related Issues (20)
- Thank you.patch
- browser version inconsistencies?
- private key showing different public key when sweeped
- uncompressed doesn't work as intended
- Add translation for Hindi HOT 1
- Password bip38
- Native SegWit (P2WPKH) - Bech32 addresses should be shown after entry of a private key in the Wallet Details section HOT 2
- BIP-38 does not work on iPhone 6
- Mofify code to show private key in vanity wallet
- Unused bitcoin in your wallet HOT 4
- implement new code HOT 1
- Tim's shit
- Btc private keys HOT 1
- 3AR2sHnB3z2BZzL2yxMD7tSrey1PCp4rMQ
- T T
- pointbiz hello,pointbiz HOT 1
- When using the brainwallet function, is there a maximum number of characters you can use? HOT 1
- Ancientbreeds.nft.create HOT 1
- I am sharing 'fw99j9lR' with you
- mew.wallet.verify.ownership 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 bitaddress.org.