Skip to content

lynn-stephenson/oxidized_salsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salsa20 in Rust

Do not use this library for encrypting data in real world projects! This is for educational purposes only!

This library implements Salsa20 in Rust, which is a stream cipher developed by Daniel J. Bernstein.

Development

Please open a GitHub issue for any problems with the library, including security problems.

Goals

  • Implement the entire Salsa20 specification in safe Rust.
  • Support concurrency/multi-threading.
  • Ciphertext seeking mode.

Test Vectors

Running cargo test will execute all unit tests that implement the test vectors, as provided by the official Salsa20 specification (PDF).