Giter Club home page Giter Club logo

Comments (5)

Arachnid avatar Arachnid commented on August 16, 2024

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.

khovratovich avatar khovratovich commented on August 16, 2024

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.

Arachnid avatar Arachnid commented on August 16, 2024

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.

khovratovich avatar khovratovich commented on August 16, 2024

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.

Arachnid avatar Arachnid commented on August 16, 2024

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)

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.