micropython / micropython/micropython-lib

Add to hashlib password-based key derivation function 'scrypt'

Open
#755 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
2.9k
Forks
1.1k
Avg merge
7d 6h
Merged PRs (30d)
3

Description

After Python 3.6 there is password-based key derivation function scrypt in a default hashlib library. It is better suitable for creation of the key for encryption (e.g. AES which is a part of a standard cryptolib) than the other already existing functions in Micropython's hashlib. Micropython doesn't have any of key derivation function from standard hashlib library so it would be good if Micropython would have it.
There are some of pure Python implementations of such a functions, but it is extremely slow.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with MicroPython's existing hashlib functions and the referenced Python 3.6+ hashlib.scrypt API. Compare the expected scrypt interface and behavior with the current library; the issue names no target files or tests, so completion criteria and implementation scope need maintainer agreement.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.