Security Basics

Hashing, Encryption, and Browser Safety Basics

Understand the difference between hashes, encoding, AES, RSA, and password safety tools in browser-based workflows.

Encryption7 min readUpdated Jul 5, 2026

Hashing is not encryption

A hash creates a one-way digest such as SHA-256. It is useful for checksums, integrity checks, identifiers, and password verification systems when combined with proper password hashing methods.

Encryption is designed to be reversible with the correct key. AES is a symmetric encryption algorithm, while RSA is asymmetric and uses public and private keys.

Encoding is for representation, not secrecy

Base64, URL encoding, and HTML entities change how data is represented so it can travel through systems safely. They do not provide confidentiality.

Do not treat an encoded string as protected data. Anyone can decode Base64 or URL-encoded text with standard tools.

Browser tools need careful data handling

Browser-based cryptography can be useful for learning, test data, and local workflows. Still, production security design should follow reviewed libraries, threat models, and organizational policy.

Never paste real private keys, production secrets, recovery phrases, or customer data into a tool unless you fully understand where the data is processed and stored.

Practical checklist

  • Use hashes for integrity checks, not encryption.
  • Use encoding for transport and display, not secrecy.
  • Keep private keys and production secrets out of casual tools.
  • Use password safety checks for guidance, not as a full audit.
  • Document algorithms and key handling in real systems.

FAQ

Common questions

Can MD5 be used for secure passwords?

No. MD5 is not appropriate for password storage. Use modern password hashing approaches such as Argon2, bcrypt, or scrypt in production systems.

Is Base64 encryption?

No. Base64 is encoding. It can be decoded by anyone and should not be used to hide sensitive information.

When should I use AES vs RSA?

AES is commonly used to encrypt data with a shared secret key. RSA is commonly used for key exchange, signatures, or encrypting small pieces of data with public/private keys.