Opened 7 years ago

Last modified 21 months ago

#869 new Feature request

Create general parity component

Reported by: Arno Wacker Owned by:
Priority: Nice to have Milestone: CrypTool 2.1 - Release 2020.1
Component: General Keywords:
Cc: nyga@…

Description

Create a general component to add parity bits to a byte stream or a byte array.

This could be used e.g. if you have a 7 byte key for DES (i.e. the key without parity bits) to feed it to the DES component, which requires 8 bytes, where each byte must contain a parity bit on the LSB.

The input would be a CrypTool-stream or a byte-array and the output the same. Additionally the component should have the follwing settings:

  • Integer, which defines after how many bits the parity bit should be added.
  • Setting wehter the bytes are intepreted as little or big endian
  • Type of parity, i.e. even or odd.
  • Extend vs. overwrite, i.e. are there placeholders in the stream which just need to overwritten or should the stream become extended by the parity bits.

A even more generalisation would be, that we allow for arbitrary check bits, e.g. CRC. This needs more thought of how to build this in the CT2-model.

Change History (6)

comment:1 Changed 4 years ago by kopal

Milestone: CrypTool 2.1 BETA 1CrypTool 2.1 - Q2 Release

Ticket retargeted after milestone closed

comment:2 Changed 4 years ago by kopal

Milestone: CrypTool 2.1 - Q2 ReleaseCrypTool 2.1 - 2018.2 Release

Milestone renamed

comment:3 Changed 4 years ago by kopal

Milestone: CrypTool 2.1 - 2018.2 ReleaseCrypTool 2.1 - Release 2018.2

Milestone renamed

comment:4 Changed 3 years ago by kopal

Milestone: CrypTool 2.1 - Release 2018.2CrypTool 2.1 - Release 2018.3

Ticket retargeted after milestone closed

comment:5 Changed 3 years ago by kopal

Milestone: CrypTool 2.1 - Release 2018.3CrypTool 2.1 - Release 2019.1

Ticket retargeted after milestone closed

comment:6 Changed 21 months ago by kopal

Milestone: CrypTool 2.1 - Release 2019.1CrypTool 2.1 - Release 2020.1

Milestone renamed

Note: See TracTickets for help on using tickets.