---
title: "Key Derivation Tool: PBKDF2 & HKDF from Password - AllTools"
description: "Derive encryption keys from passwords with PBKDF2 (iterations, salt, length) and HKDF (SHA-256/384/512) for E2EE and token setup — runs entirely on your device."
canonical_url: "https://tool.warmday.wang/en/crypto/key-derivation"
meta:
  author: AllTools
  keywords: "online tools, AllTools, free online tools, developer tools, image tools, PDF tools, text tools, unit converter, no login, browser-based tools"
  "og:description": "Derive encryption keys from passwords with PBKDF2 (iterations, salt, length) and HKDF (SHA-256/384/512) for E2EE and token setup — runs entirely on your device."
  "og:image": "https://tool.warmday.wang/img/og-cover.png"
  "og:image:alt": "AllTools Logo"
  "og:image:height": "630"
  "og:image:width": "1200"
  "og:title": "Key Derivation Tool: PBKDF2 & HKDF from Password"
  "twitter:image": "https://tool.warmday.wang/img/og-cover.png"
---

> Index of every page on this site: [llms.txt](https://tool.warmday.wang/llms.txt)

# **Key Derivation**

PBKDF2/HKDF key derivation functions to derive secure keys from passwords or key material.

## **Configuration**

**Derivation Algorithm**

**Hash Algorithm**

**Iterations**

**Key Length (bytes)**

## **Input Key Material**

**Password / Key Material**

## **Salt**

## **Instructions**

#### **Supported Algorithms**

PBKDF2: Password-Based Key Derivation Function 2, uses HMAC with configurable hash and iterations; scrypt: Memory-hard KDF, resistant to GPU/ASIC attacks; HKDF: HMAC-based Extract-and-Expand Key Derivation Function, suitable for deriving keys from high-entropy sources.

#### **Parameter Notes**

Iterations should be at least 100000 for PBKDF2; salt should be random (click 'Random' to generate); key length depends on use case (e.g., AES-256 needs 32 bytes).

#### **Steps**

1\. Select derivation algorithm and hash algorithm; 2. Set iterations and key length; 3. Enter password and salt; 4. Click 'Derive Key' to get Hex and Base64 results. All operations via Web Crypto API.

## **Related tools**

More from the same category · Encryption

[**MD5 Hash**Generate 32-char MD5 digests for text and files to verify integrity and detect content changes locally.](https://tool.warmday.wang/en/crypto/md5) [**Hash Calculator**MD5, SHA-1, SHA-256, SHA-512 digests for text and files in one pass for checksums.](https://tool.warmday.wang/en/crypto/hash) [**Base64 Converter**Base64 encode/decode for text, UTF-8 and images, with Data URL output for inline embedding.](https://tool.warmday.wang/en/crypto/base64) [**Symmetric Encryption**Encrypt/decrypt with AES, DES, 3DES, RC4 and SM4, configurable mode, padding, key and IV, fully client-side.](https://tool.warmday.wang/en/crypto/symmetric) [**RSA Tools**Generate RSA key pairs (1024-4096 bit), encrypt/decrypt and sign with PKCS#1 v1.5 or PSS, browser-side.](https://tool.warmday.wang/en/crypto/rsa) [**PGP Tools**Generate OpenPGP keys, encrypt, decrypt and sign text or files with GnuPG-compatible ASCII-armored output.](https://tool.warmday.wang/en/crypto/pgp)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://tool.warmday.wang/#organization","name":"AllTools","alternateName":"AllTools - 全能工具箱","url":"https://tool.warmday.wang/","logo":{"@type":"ImageObject","url":"https://tool.warmday.wang/img/logo.png","width":512,"height":512}},{"@type":"WebSite","@id":"https://tool.warmday.wang/en#website","url":"https://tool.warmday.wang/en","name":"AllTools","inLanguage":"en","publisher":{"@id":"https://tool.warmday.wang/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://tool.warmday.wang/en?q={search_term_string}"},"query-input":"required name=search_term_string"}},{"@type":"WebPage","@id":"https://tool.warmday.wang/en/crypto/key-derivation#webpage","url":"https://tool.warmday.wang/en/crypto/key-derivation","isPartOf":{"@id":"https://tool.warmday.wang/en#website"},"inLanguage":"en","name":"Key Derivation Tool: PBKDF2 & HKDF from Password","description":"Derive encryption keys from passwords with PBKDF2 (iterations, salt, length) and HKDF (SHA-256/384/512) for E2EE and token setup — runs entirely on your device."},{"@type":"SoftwareApplication","@id":"https://tool.warmday.wang/en/crypto/key-derivation#app","name":"Key Derivation Tool: PBKDF2 & HKDF from Password","description":"Derive encryption keys from passwords with PBKDF2 (iterations, salt, length) and HKDF (SHA-256/384/512) for E2EE and token setup — runs entirely on your device.","url":"https://tool.warmday.wang/en/crypto/key-derivation","applicationCategory":"SecurityApplication","operatingSystem":"Web","inLanguage":"en","isPartOf":{"@id":"https://tool.warmday.wang/en/crypto/key-derivation#webpage"},"offers":{"@type":"Offer","price":"0","priceCurrency":"CNY"}},{"@type":"BreadcrumbList","@id":"https://tool.warmday.wang/en/crypto/key-derivation#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://tool.warmday.wang/en"},{"@type":"ListItem","position":2,"name":"Crypto & Security","item":"https://tool.warmday.wang/en/crypto"},{"@type":"ListItem","position":3,"name":"Key Derivation","item":"https://tool.warmday.wang/en/crypto/key-derivation"}]}]}
```

## Sitemap

See the full [sitemap](https://tool.warmday.wang/sitemap.md) for all pages.
