Skip to content

Latest commit

 

History

History
48 lines (41 loc) · 1.32 KB

rust_ring_string_encryption_key_based_symmetric.md

File metadata and controls

48 lines (41 loc) · 1.32 KB
title keywords summary permalink folder references authors current_reviews last_updated tags
Rust symmetric string encryption using a key file and ring
example template
Symmetric string encryption in Rust with key generation
rust_ring_string_encryption_key_based_symmetric.html
Rust ring
url description
ring::aead documentation
url description
ring::rand documentation
name url
Philipp Keck
2018-06-24
Rust
ring
AEAD
AES
GCM

Use cases

  • Encrypted data storage
  • Encrypted communication channel

Preparations

  • Add the ring dependency to your Cargo.toml.

Sample code

{% include_relative src/string_encryption_key_based_symmetric.rs %}

{% include links.html %}