Opened 13 years ago

Last modified 6 months ago

#7231 new enhancement

cryptanalysis of the Vigenere cipher

Reported by: Minh Van Nguyen Owned by: somebody
Priority: major Milestone: sage-wishlist
Component: cryptography Keywords: Vigenere cipher, cryptanalysis
Cc: Rob Beezer, Ralf Stephan Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

As the subject says. This depends on #7124.

Change History (3)

comment:1 Changed 9 years ago by Ralf Stephan

Cc: Ralf Stephan added
Report Upstream: N/A

comment:2 Changed 9 years ago by Ralf Stephan

Milestone: sage-wishlist

comment:3 Changed 6 months ago by Dave Morris

A method could be added to the VigenereCryptosystem class in src/sage/crypto/classical.py. I would suggest calling the method something like cryptanalyze. If more than one method of cryptanalysis is implemented, then I would suggest providing an algorithm keyword argument, so the user can choose between them.

Follow-up ticket: The AffineCryptosystem and ShiftCryptosystem classes have methods rank_by_chi_square, rank_by_squared_differences, and brute_force. I would suggest making them all available from a single cryptanalyze method (with algorithm keyword argument) so they are easier to find.

Note: See TracTickets for help on using tickets.