How to Choose a Hash Algorithm for Data Security
A practical decision guide to choosing the right hash algorithm: MD5, SHA-1, SHA-2, SHA-3, bcrypt, argon2, PBKDF2, and SRI, with comparisons and clear recommendations.
Aug 08, 2026
Generate PGP public and private key pairs with your identity, email, and expiration settings.
PGP (Pretty Good Privacy) is an encryption program that provides cryptographic privacy and authentication for data communication. It follows the OpenPGP standard (RFC 4880) and is commonly used for signing and encrypting emails, files, and software packages.
Each PGP key pair consists of a public key that you share with others and a private key that you keep secret. The public key encrypts messages that only the private key can decrypt, and the private key signs messages that the public key can verify.
Yes. The generated keys use GnuPG (GPG) on the server and follow the OpenPGP standard. You can import them into any PGP-compatible software including GnuPG, Kleopatra, Thunderbird/Enigmail, and ProtonMail.
Yes, it is strongly recommended. A passphrase encrypts your private key on disk. Without one, anyone who gains access to your private key file can use it immediately. With a passphrase, they would also need to know your passphrase.
2048 bits is the current standard and provides adequate security for most use cases. 4096 bits offers stronger security but results in slower operations and larger key sizes. Both sizes are widely supported.
Your key is generated on the server using GnuPG in a temporary directory. The key pair is displayed to you once and then the temporary files are immediately deleted. The key is not stored, logged, or retained in any way.
Blog
A practical decision guide to choosing the right hash algorithm: MD5, SHA-1, SHA-2, SHA-3, bcrypt, argon2, PBKDF2, and SRI, with comparisons and clear recommendations.
Aug 08, 2026
Learn practical, production-ready ways to use Base64 encoding: data URLs for images, JWT payloads, API tokens, and email attachments, with real code examples.
Aug 08, 2026
Learn how HMAC (Hash-Based Message Authentication Code) works, how it differs from regular hashing, and how to use it for API authentication.
Jun 16, 2026