Encrypt to Uncrypt
Encrypt + Encrypt = plaintext
How it works ?
ciphertext = plaintext β encrypt(iv)
# if the user want encrypt again ciphertext then :
ciphertext2 = ciphertext β encrypt(iv)
ciphertext2 = plaintext β encrypt(iv) β encrypt(iv)ciphertext2 = plaintext β encrypt(iv) β encrypt(iv)
ciphertext2 = plaintext β 0
ciphertext2 = plaintextLast updated