Comments (5)
Such RNGs are not widely available to regular users
On the contrary, modern browsers implement the crypto API, which provides a method for secure random numbers.
I agree that the use of the term 'salt' is misleading here.
I don't see any way to use deterministic encryption to effectively hide a user's bids here; can you elaborate?
from ens.
You definitely can use a special app to generate a random number, I just wanted to say that users do need one and also need to store all these numbers.
After some thinking I realized that deterministic symmetric encryption would not be more efficient than the plain hash function here, as you would need to open the key.
A better strategy might be to have a secret master key and generate salt
as a hash of this key and the domain hash. The account private key can serve as such master key. Thus any Dapp browser that has access to private keys can generate and look up the salt value for any domain hash, without extra randomness at all.
from ens.
We expect most people to use the auction DApp, which uses the crypto API to generate secret keys, and store them in client storage (it also offers a backup option).
from ens.
Special care must be taken to add the secret entropy into bids then. The slider I have seen at one issue here might not deliver enough entropy.
from ens.
The slider is for adding extra value to the bid over and above the max bid, so as to disguise the true amount of the bid. 'Salts' are generated independently of that, and not presented explicitly to the user.
from ens.
Related Issues (20)
- Ens domain
- Invalid character for ENS
- What's the possible min and max length of ens names HOT 3
- domain reservation HOT 7
- ENS interface should be available for 0.8.x
- Cannot set domain for ContentHash (DNSLink) HOT 1
- "fromPromise error: Error: invalid address" shows in the console when I try to buy a domain HOT 3
- BIG Issue!! HOT 3
- Report an ENS Zero Width Joiner vulnerability- This could lead to massive scams HOT 1
- Why isn't the BaseRegistrarImplementation included in this repo?
- Fastpayment
- How to deploy ENS on a private chain? HOT 1
- What exactly is the value of "secret" in the commitment hash
- How to apply for the top-level domain name of ens?
- How to register a customed top-level domain name through ens.
- How to register a customed top-level domain name through ens. HOT 1
- Request for support for the Sepolia network on ENS HOT 2
- Module not found: Error: Can't resolve '@ensdomains/ensjs'
- Ens
- How to deploy to new chain? I'm getting errors while building
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 ens.