Processen att konvertera läsbara data (klartext) till en kodad form (ciphertext) att förhindra att det läses av en obehörig part.