Skip to content

On the new cracking function of hill cryptography in classical cryptography #34250

Open
@kexinoh

Description

@kexinoh
mannequin

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions