Package Crypto :: Package Protocol :: Module AllOrNothing
[frames] | no frames]

Module AllOrNothing

This file implements all-or-nothing package transformations.

An all-or-nothing package transformation is one in which some text is transformed into message blocks, such that all blocks must be obtained before the reverse transformation can be applied. Thus, if any blocks are corrupted or lost, the original message cannot be reproduced.

An all-or-nothing package transformation is not encryption, although a block cipher algorithm is used. The encryption key is randomly generated and is extractable from the message blocks.

This class implements the All-Or-Nothing package transformation algorithm described in:

Ronald L. Rivest. "All-Or-Nothing Encryption and The Package Transform"

Class implementing the All-or-Nothing package transform.
  __revision__ = '$Id$'
  __package__ = 'Crypto.Protocol'