-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
What?
Web Crypto API defines PBKDF2 algorithm identifier (https://www.w3.org/TR/WebCryptoAPI/#pbkdf2) for operations like:
- Derive Bits (our implementation has it)
- Derive Key (in-progress Derive Key xk6-webcrypto#83)
- Import key (our implementation has it)
Golang has an implementation in x/crypto https://pkg.go.dev/golang.org/x/crypto/pbkdf2.
We have to implement this support.
As part of the issue, probably following web platform tests (see README) should be enabled:
- WebCryptoAPI/derive_bits_keys/pbkdf2_vectors.js
- WebCryptoAPI/derive_bits_keys/pbkdf2.js
- and others test cases that could be useful for testing
PBKDF2
Why?
Having support of the PBKDF2 makes our implementation compliant with web crypto API