Malleable is a term used in the analyses of cryptographic algorithms:
A malleable encryption algorithm allows transformations on the ciphertext to produce meaningful changes in the plaintext. That is, given a plaintext and the corresponding ciphertext , it is possible to generate so that the decryption of is a function of the original plaintext , with arbitrary but known functions and .
Stream ciphers are examples of malleable encryption algorithms. In a stream cipher, the ciphertext is produced by taking the exclusive or of the plaintext and a stream based on a secret key (). Given an arbitrary , it is possible to generate .
Malleability is an undesirable property in a general-purpose cryptosystem, since it allows an attacker to modify the contents of a message. For example, suppose that a bank uses a stream cipher to hide its financial information, and a user sends an encrypted message containing, say, "TRANSFER $0000100.00 TO ACCOUNT #199." If an attacker can modify the message on the wire, and can guess the format of the unencrypted message, the attacker can change the amount of the transaction, or the recipient of the funds.
Other malleable encryption algorithms include:
RSA. If the attacker obtains the ciphertext ( where is the plaintext and is the public modulus) the attacker can produce the ciphertext corresponding to any by multiplying the original ciphertext by . For this reason, RSA is commonly used together with padding methods such as OAEP or PKCS1.
ElGamal is malleable "in an extreme way": for example, given an encryption of some (possibly unknown) message , one can easily construct an encryption of the message . Therefore ElGamal is not secure under chosen ciphertext attack. On the other hand, the Cramer-Shoup system (which is based on ElGamal) is secure under chosen ciphertext attack.
It is possible to build non-malleable encryption algorithms from malleable ones.
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Malleability (cryptography)".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world