Opened 12 years ago

Closed 12 years ago

#133 closed Bug (fixed)

Playfair incorrect duplicate separation

Reported by: mdahshan@… Owned by: Matthäus Wander
Priority: Important Milestone:
Component: Playfair Keywords:
Cc:

Description

In Playfair cipher, some textbook descriptions teach that character separation should only be done if the duplicate characters occur in the same pair. For example, if the plaintext word is 'balloon', the pairs should be 'ba lx lo on'. Crytool and Cryptool2 always separate duplicate letters, even if they don't fall in the same pair.

Cryptool: 'balloon' --> 'ba lx lo xo nx'. Correct : 'balloon' --> 'ba lx lo on'.

I recommend that this should be fixed or at least be provided as an option for Playfair.

Thank you.

Change History (2)

comment:1 Changed 12 years ago by Matthäus Wander

Owner: changed from Sebastian Przybylski to Matthäus Wander
Status: newassigned

You're right, thanks for the hint.

comment:2 Changed 12 years ago by Matthäus Wander

Resolution: fixed
Status: assignedclosed

(In [1256]) Playfair:

  • fixed preformatting to be consistent with literature (e.g. William Stallings: Cryptography and Network Security (page 44); F. L. Bauer: Entzifferte Geheimnisse (page 66))
  • closes #133
  • fixed another issue (last character insertion)
Note: See TracTickets for help on using tickets.