aont

Crates.ioaont
lib.rsaont
version0.1.1
sourcesrc
created_at2021-07-04 11:53:45.829029
updated_at2021-07-05 20:24:47.616249
descriptionAll-Or-Nothing-Transform
homepagehttps://github.com/declanmalone/aont
repository
max_upload_size
id418551
size33,891
(declanmalone)

documentation

README

All-Or-Nothing-Transform

This crate is a very early stage of development. It is intended to implement the "Package Transform" (All-Or-Nothing-Transform) as described by Ron L. Rivest in his paper "Chaffing and Winnowing: Confidentiality without Encryption"

Some relevant wikipedia links:

Currently Implemented

  • encode and decode using SHA-1 on a message stored in memory

Future Direction

  • Add high-level routines to encode/decode files
  • Add option to output public parameter at start of message/stream
  • Symmetric option to read that during decoding
  • Generic version that works with any hash routine that implements Digest
  • Add support for different ways of combining hash parameters (currently concatenated, implement xor)
  • Add support for turning encryption algorithms into digest functions (eg, AES-CBC)
  • Write inner/outer (en/de)coding algorithms as traits implementing Digest(?)
Commit count: 0

cargo fmt