Skip to content
/ akvdb Public

A simple key-value store with a log-structured, append-only storage architecture where data is encrypted with AES GCM.

Notifications You must be signed in to change notification settings

ollej/akvdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

akvdb

A simple key-value store with a log-structured, append-only storage architecture where data is encrypted with AES GCM.

Modified from the actionkv example in the book Rust in Action

Original code available here: https://github.com/rust-in-action/code

Usage

First generate an encryption key and set it in the environment variable AKVDB_KEY

export AKVDB_KEY="$(./akvdb key)"

After that the database can be used

akvdb -d test.akv insert foo bar
akvdb -d test.akv get foo
akvdb -d test.akv update foo baz
akvdb -d test.akv get foo
akvdb -d test.akv delete foo
akvdb -d test.akv get foo

About

A simple key-value store with a log-structured, append-only storage architecture where data is encrypted with AES GCM.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages