Skip to content · ⁨Saltar al contenido⁩

Hashing and digital signatures · ⁨Hashing y firmas digitales⁩

English

Hashing protects integrity

  • We hashed passwords for secrecy. Hashing also protects integrity — proving data was not changed.
  • Change even one character of the input, and the hash changes completely.
Español

Hashing protects integrity

  • Hasheamos las contraseñas para garantizar la confidencialidad. El hash también protege la integridad — demostrando que los datos no han sido modificados.
  • Cambiar incluso un solo carácter de la entrada hace que el hash cambie completamente.
import hashlib
print(hashlib.sha256(b"hello").hexdigest()[:16])
print(hashlib.sha256(b"hellp").hexdigest()[:16])   # totally different

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP