This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24902 - PBKDF2 definition needs to be cleaned up
Summary: PBKDF2 definition needs to be cleaned up
Status: RESOLVED FIXED
Alias: None
Product: Web Cryptography
Classification: Unclassified
Component: Web Cryptography API Document (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ryan Sleevi
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-03 21:17 UTC by vijaybh
Modified: 2014-03-05 20:36 UTC (History)
1 user (show)

See Also:


Attachments

Description vijaybh 2014-03-03 21:17:13 UTC
The password parameter in Pbkdf2Params seems to be useless. We should remove it and instead add the following two methods to the PBKDF2 section:

- Use generateKey to generate a new password. UA will gather password from the user through some UI and put it in the Key object. We should define an encoding method for the password, UTF8 seems reasonable.

- Use importKey with type raw to programmatically create a Key object with a given password. We could let the script pick whatever encoding it wants for keyData.
Comment 1 Mark Watson 2014-03-05 20:36:37 UTC
Changeset bc6c87c2e6d4