Hash & Encryption Studio

Runs in your browser

Hash text or files, compute HMACs, hash passwords with bcrypt, Argon2id, scrypt or PBKDF2, encrypt with AES-256-GCM, sign and verify, exchange keys and read certificates locally in your browser. No ads or analytics run on this tool.

0 bytes · 0 lines Text up to 64 MB · files up to 2 GB (100 MB for encryption)

Files are read in this tab and never uploaded. Hashing a 2 GB file can take a while; Cancel stops it.

A lost password cannot be recovered. This tool has not had an independent security audit. Processing stays in your browser.

Hex, Base64, or a colon-separated fingerprint.

Result

No result yet

Ready

Choose a mode, then paste text or a key. Nothing is uploaded.

Nothing leaves the tab

Hashes, keys, passwords and certificates are processed by your browser. This page carries no ads, analytics or third-party scripts.

No hand-written crypto

Web Crypto does the cryptography. The two reviewed libraries, hash-wasm and @peculiar/x509, only fill the gaps where the browser API has no algorithm or parser.

Clear about limits

MD5, SHA-1 and CRC-32 are labelled unsafe. Certificates are parsed, not trusted. The page says which checks it does not perform.

Hashes and HMACs

A hash turns any input into a fixed-size fingerprint. The same bytes always produce the same digest, and changing one byte changes almost every bit of the output. A digest cannot be reversed. For files, the page streams the input in chunks, so a 2 GB file never has to fit in memory.

An HMAC adds a shared secret to the hash. It proves that whoever produced the value knew the key, which is why API signatures use it. Use HMAC-SHA-256 or stronger. A hash by itself does not prove origin.

Worked example: SHA-256 of abc is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad, the FIPS 180-4 test vector. HMAC-SHA-256 of what do ya want for nothing? with key Jefe is 5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843, RFC 4231 case 2.

Password hashing

Passwords need a deliberately slow, salted hash. Argon2id is the default here: 19 MiB of memory, two passes and one lane, the OWASP Password Storage Cheat Sheet minimum checked on 28 November 2026. PBKDF2-HMAC-SHA-256 defaults to 600,000 iterations for FIPS-140 environments. scrypt and bcrypt are offered for compatibility.

Store the whole encoded string. It carries the algorithm, parameters and salt, which is exactly what verification needs. Parameters below the OWASP minimum are accepted for tests and marked with a warning. bcrypt reads at most 72 password bytes, so this tool refuses longer passwords instead of silently truncating them.

Signatures, key exchange and keys

RSA-OAEP encrypts short data only. With a 2048-bit key and SHA-256 the limit is 190 bytes, because the padding needs the rest of the block. Encrypt a symmetric key, not a file. RSA-PSS signs a message with the private key and verifies it with the public key.

ECDSA P-256, P-384 and Ed25519 sign raw message bytes. Web Crypto returns ECDSA signatures as raw r||s; OpenSSL and many protocols expect ASN.1 DER, so convert before interoperating. The Key exchange mode is a learning demo: it generates both sides locally, shows that both derive the same secret, then runs HKDF-SHA-256 to produce a key.

Keys generated here can be exported as PKCS#8 private PEM, SPKI public PEM or JWK. Converting between PEM and JWK does not change the key. Treat private keys like passwords; this page never stores them.

Password encryption and the APCE format

The encrypt mode stretches your password with Argon2id (19 MiB, two passes, one lane by default) or PBKDF2-HMAC-SHA-256 (600,000 iterations) and encrypts with AES-256-GCM. Every run draws a fresh 16-byte salt and 12-byte IV. The 60-byte header carries the version, KDF, parameters, salt and IV, and is authenticated as additional data, so editing any header byte makes decryption fail. A wrong password and altered ciphertext produce the same plain message on purpose.

The output is an .apce file — AppCenter v1. The layout and short Python and Node.js decryption examples are documented publicly in the site's crypto-format.md, so a file is not locked to this page. KDF parameters are capped before key derivation, so a hostile file cannot make the tab allocate unbounded memory. A lost password cannot be recovered.

The interoperability section is separate on purpose. AES-CBC and AES-CTR exist there for systems that require them, with a user-supplied IV and no authentication: changed ciphertext or a wrong key may go unnoticed. The APCE path never uses them.

Certificates and CSRs

The certificate mode reads the subject, issuer, validity dates, subject alternative names, public key type, key usages and SHA-256/SHA-1 fingerprints. It does not build a chain, check revocation, or decide whether an issuer is trusted. A matching subject and issuer only means the certificate is self-issued; it is not proof of trust.

A CSR has no issuer or dates until a CA signs it. The page parses it as a request and says so, rather than presenting it as a certificate.

Frequently asked questions

Is my input or key uploaded?

No. All modes run in a Web Worker in this tab. There are no ads, analytics or third-party scripts on this page, and the browser test checks that no request carries the input.

Can this tool recover a password?

No. Hashing is one-way, and the encryption mode uses a key derived from your password. A lost password cannot be recovered, and this tool does not crack or brute-force hashes.

Which hash should I use?

SHA-256 or SHA-512 for general integrity, SHA3-256 or BLAKE3 when you specifically want those families, and Argon2id for passwords. MD5, SHA-1 and CRC-32 are for legacy checks only.

Why does RSA refuse a long message?

RSA-OAEP can only encrypt data smaller than the key minus its padding. Use it to wrap a symmetric key, then encrypt the file with AES-GCM.

What is an .apce file?

It is the AppCenter v1 encrypted container: a public 60-byte header, AES-256-GCM ciphertext and a tag. The format is documented so other tools can decrypt it with your password; it is not a proprietary lock-in.

Can I decrypt an .apce file without this page?

Yes. The format document includes short Python and Node.js examples. You need the same password and a library that supports Argon2id or PBKDF2-SHA-256 plus AES-256-GCM.

Does a parsed certificate mean it is trusted?

No. Parsing only reads the fields. Trust requires validating the chain, the signature, the hostname and revocation, which this page deliberately does not do.

Sources

FIPS 180-4 (SHA-1 and SHA-2), FIPS 202 (SHA-3), the BLAKE3 specification, RFC 4231 (HMAC test vectors), RFC 9106 (Argon2), RFC 7914 (scrypt), RFC 8018 (PBKDF2), RFC 8032 (Ed25519), RFC 7748 (X25519), RFC 5869 (HKDF) and RFC 5280 (X.509). Password defaults follow the OWASP Password Storage Cheat Sheet, checked 28 November 2026.