Dimanche 18 Octobre 2026 00:48:50 GMT+02:00

Netcrook

AccueilManifeste
Actualités
Techcrook
Geocrook
WikicrookÉquipeAppContact
EnglishItaliano

WIKICROOK

Padding

Extra structure added before encryption or signing to make cryptographic schemes safer in practice.

Padding is extra, structured data added to a message before encryption or signing. In public-key cryptography, it does more than fill space: it randomizes inputs, marks message boundaries, and enforces rules that make an algorithm safer to use in practice. For RSA, modern schemes such as OAEP for encryption and PSS for signatures are designed to prevent predictable outputs and reduce the risk of mathematical or protocol-level attacks.

Padding matters because many real-world RSA breaks target the padding layer rather than the core math. Weak or legacy padding can create oracles through error messages, timing differences, or malformed input handling, letting attackers learn whether a guessed plaintext or signature is valid. Defenders reduce this risk by using modern padding schemes, rejecting ambiguous inputs consistently, and avoiding legacy modes that leak information.

← index WIKICROOK