Open
Description
Hill encryption can be quickly cracked by known plaintext attacks.
MK = C --> K = M-1 C.
However, this kind of algorithm is missing in sage.crypto.classic.hillcryptosystem, although other classical algorithms are accompanied by cracking methods.
https://crypto.stackexchange.com/questions/66933/an-unbreakable-hill-cipher/66938#66938
def KPA(self, M, C):
return self.inverse_key(M) * C
Component: cryptography
Keywords: HillCryptosystem
Author: WU XIANGFAN
Issue created by migration from https://trac.sagemath.org/ticket/34250