skipjack 0.2.0

A straight-line implementation of Skipjack in Rust

license Build Status

Note: Skipjack is not suitable for contemporary use. This library exists as an example, and not for consumption. 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. 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)


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.


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


skipjack = "0.1.0"

Documentation is available on