Logo

github Download
Rust examples

Example projects with RustThemis #

Once you have installed RustThemis, it’s time to give it some action!

Code samples #

Some code samples for Themis features are available at docs/examples/rust on GitHub:

  • key generation utilities
  • data encryption using Secure Cell
  • a simple chat server and client using Secure Message and Secure Session
  • password authentication using Secure Comparator

You can also take a look at unit tests in RustThemis source code.

Debugging aids #

There are command-line utilities which you can cargo run from GitHub source code at tools/rust.

What’s next #

Read the feature guide to learn how to use Themis effectively in Rust.