Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

Password hashing #2

Open
drmathias opened this issue Jan 20, 2020 · 0 comments
Open

Password hashing #2

drmathias opened this issue Jan 20, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@drmathias
Copy link
Owner

Based on the proposed ticketbooth-solutions/Ticketbooth/issues/24, it would be useful to implement a wrapper for a password hashing algorithm which is best suited for smart contracts. Possibilities include Argon2di, PBKDF2, scrypt or bCrypt.

The most important factors I would consider for choosing an implementation are hash size and security. The smaller the hash size, the less gas which is required to log it in a contract, though a hash that is too short will have many more collisions. Splitting the hash from the salt would be benefitial for gas saving, as the salt does not have to be stored in a smart contract to verify a hash.

@drmathias drmathias added the enhancement New feature or request label Jan 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant