
Ripples crossing on still water. Where waves meet they add up or cancel out. Quantum algorithms such as Grover’s use the same interference between amplitudes. Generated image. Shows no real place.
Field guide
Symmetric.
Ciphers, message authentication and key derivation where both sides hold the same secret key: AES, ChaCha20-Poly1305, HMAC, HKDF, and password hashing such as Argon2, scrypt and bcrypt.
What it is
Where it is used
They encrypt the data itself once a key has been agreed, and protect stored passwords.
The catalogue lists 10 algorithms in this family, carried by 112 packages.
Quantum
What a large quantum computer changes
Grover’s search finds a k-bit key in about 2 to the k over 2 steps instead of 2 to the k, so a key keeps about half its bits of security. Bennett, Bernstein, Brassard and Vazirani proved that no generic quantum search does better (see the reading list).
Weakened by Grover, as the scanner prints itGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.
- Key and messageencrypt
- Ciphertext
Going back, from Ciphertext to Key:
- Classical search: about 2^k tries for a k-bit key.
- Grover’s search: about 2^(k/2) steps.
Try it: Grover’s search, simulated. A simulation in your browser, not a quantum computer.
10 in the catalogue
Algorithms
- AESWeakened by Grover
- AES-GCMWeakened by Grover
- Argon2Weakened by Grover
- bcryptWeakened by Grover
- ChaCha20-Poly1305Weakened by Grover
- HKDFWeakened by Grover
- HMACWeakened by Grover
- PBKDF2Weakened by Grover
- scryptWeakened by Grover
- XSalsa20-Poly1305Weakened by Grover
112 in the catalogue
Packages that carry it
npm (73)
- @aptos-labs/ts-sdk
- @aztec/bb.js
- @chainsafe/libp2p-noise
- @cosmjs/crypto
- @ethereumjs/wallet
- @ethersproject/hdnode
- @ethersproject/json-wallets
- @hpke/chacha20poly1305
- @hpke/core
- @hpke/dhkem-x25519
- @libp2p/crypto
- @libp2p/noise
- @metamask/browser-passworder
- @metamask/eth-sig-util
- @metamask/key-tree
- @noble/ciphers
- @noble/hashes
- @node-rs/argon2
- @node-rs/bcrypt
- @panva/hkdf
- @peculiar/webcrypto
- @polkadot/keyring
- @polkadot/util-crypto
- @polkadot/wasm-crypto
- @scure/bip32
- @scure/bip39
- @stablelib/chacha20poly1305
- @stablelib/hkdf
- @taquito/signer
- @ton/crypto
- aes-js
- argon2
- bcrypt
- bcrypt-nodejs
- bcryptjs
- bip32
- bip39
- browserify-aes
- create-hmac
- crypto-browserify
- crypto-js
- eciesjs
- ed25519-hd-key
- ethereum-cryptography
- ethereumjs-wallet
- ethers
- hash-wasm
- hash.js
- hdkey
- hpke-js
- jose
- js-sha256
- jsonwebtoken
- jsrsasign
- jwa
- jws
- libsodium-wrappers
- libsodium-wrappers-sumo
- micro-eth-signer
- node-forge
- node-jose
- openpgp
- otpauth
- otplib
- pbkdf2
- scrypt-js
- sjcl
- sodium-native
- ssh2
- tweetnacl
- viem
- web3
- web3-eth-accounts
crates.io (39)
- aes
- aes-gcm
- aes-gcm-siv
- age
- argon2
- aws-lc-rs
- aws-lc-sys
- bcrypt
- bip32
- bip39
- bitcoin_hashes
- boring
- botan
- chacha20poly1305
- crypto_box
- crypto_secretbox
- dryoc
- ecies
- eth-keystore
- hkdf
- hmac
- hmac-sha256
- hpke
- josekit
- jsonwebtoken
- libcrux
- libsodium-sys
- mbedtls
- openssl
- openssl-sys
- orion
- pbkdf2
- ring
- rustls
- scrypt
- sequoia-openpgp
- snow
- sodiumoxide
- xsalsa20poly1305
11 in the catalogue
Standards
- RFC 2104 HMAC: Keyed-Hashing for Message Authentication IETF
- FIPS 197 Advanced Encryption Standard (AES) NIST
- SP 800-38D Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC NIST
- FIPS 198-1 The Keyed-Hash Message Authentication Code (HMAC) NIST
- RFC 5869 HMAC-based Extract-and-Expand Key Derivation Function (HKDF) IETF
- SP 800-132 Recommendation for Password-Based Key Derivation: Part 1: Storage Applications NIST
- BIP 39 Mnemonic code for generating deterministic keys Bitcoin Improvement Proposals
- RFC 7914 The scrypt Password-Based Key Derivation Function IETF
- RFC 8018 PKCS #5: Password-Based Cryptography Specification Version 2.1 IETF
- RFC 8439 ChaCha20 and Poly1305 for IETF Protocols IRTF (CFRG)
- RFC 9106 Argon2 Memory-Hard Function for Password Hashing and Proof-of-Work Applications IRTF (CFRG)
From catalogue 2026.12.03. All standards by date: standards timeline.
Next family: Hash. All families: field guide.