skipjack

Crates.ioskipjack
lib.rsskipjack
version0.2.0
sourcesrc
created_at2020-03-08 19:22:43.318847
updated_at2022-01-02 16:47:48.608045
descriptionA straight-line implementation of Skipjack in Rust
homepagehttps://github.com/woodruffw/skipjack.rs
repository
max_upload_size
id216636
size22,835
William Woodruff (woodruffw)

documentation

README

skipjack.rs

license Build Status

Note: Skipjack is not suitable for contemporary use. This library exists as an example, and not for consumption.

skipjack.rs is a straight-line (meaning no branches or loops) Rust implementation of the Skipjack cipher, best known for its use by the NSA in the Clipper chip.

skipjack.rs has three primary goals (all for educational purposes, for yours truly):

  1. To represent safe, idiomatic Rust in a cryptographic context
  2. To be easy to read and understand with a minimal understanding of Rust, even without a background in cryptography
  3. To directly reflect the NIST specification for Skipjack (i.e., no optimizations or shortcuts)

Design

This implementation attempts to adhere closely to the NIST-provided specification in design, and does not support any modes of operation other than single-block codebook.

Installation

You should not use Skipjack (or skipjack.rs) for anything serious. But, if you'd like to play with it, you can install it via cargo:

[dependencies]

skipjack = "0.1.0"

Documentation is available on docs.rs.

Commit count: 0

cargo fmt