Derive PBKDF2 key

Derive a key from a password with PBKDF2 using the selected hash, salt, iterations and output length.

Input: TextResult: Text

Text input

Run to see the result

Examples

Example keys and passwords are public test material.

A release-manifest signature

Input

Expected answer

cffa8fc5deefe0feca3cb7c665804562be14af5fb4a88443fabe23dbe941799c
Passphrase
{"option":"UTF8","string":"public-a0b6b0ae2a79"}
Key size
256
Iterations
1000
Hashing function
SHA256
Salt
{"option":"UTF8","string":"demo-salt"}
A webhook-like deployment record

Input

Expected answer

9250797bba2d6f56f0a08d1cbc250f421978efff1516ae9f59f558ad64408b0d
Passphrase
{"option":"UTF8","string":"public-54cb20ffed5e"}
Key size
256
Iterations
1000
Hashing function
SHA256
Salt
{"option":"UTF8","string":"demo-salt"}
A Unicode name in a signed payload

Input

Expected answer

f89b58a447a1ba4dee69d143dd8712abe40993dd33fb933fcc490d5ee8847b8a
Passphrase
{"option":"UTF8","string":"public-850f7dc43910"}
Key size
256
Iterations
1000
Hashing function
SHA256
Salt
{"option":"UTF8","string":"demo-salt"}
A signature-sensitive trailing newline

Input

Expected answer

cfb461c93200fe69f05788396ebc8727e083e2682b9cd5025cb694d769e13155
Passphrase
{"option":"UTF8","string":"public-c98c24b677ef"}
Key size
256
Iterations
1000
Hashing function
SHA256
Salt
{"option":"UTF8","string":"demo-salt"}
An ASCII control message

Input

Expected answer

8bac646425050971c865c207ab3eb0ecfbfc4a8e228fb8727f1cb6f7f45fda1f
Passphrase
{"option":"UTF8","string":"public-a471211b732b"}
Key size
256
Iterations
1000
Hashing function
SHA256
Salt
{"option":"UTF8","string":"demo-salt"}

In many applications of cryptography, user security is ultimately dependent on a password, and because a password usually can't be used directly as a cryptographic key, some processing is required. A salt provides a large set of keys for any given password, and an iteration count increases the cost of producing keys from a password, thereby also increasing the difficulty of attack. If you leave the salt argument empty, a random salt will be generated.

Format reference: Derive PBKDF2 key background and specification

Related tools

Browse encryption / encoding tools