aboutsummaryrefslogtreecommitdiff
path: root/lockchain-core/README.md
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2018-05-06 21:10:39 +0200
committerKatharina Fey <kookie@spacekookie.de>2018-05-06 21:10:39 +0200
commit74e30085dd30b430c3b60c4c8ab493ce83872e63 (patch)
tree5a04d77934b2857dfc69eb25adf0d99c4194c217 /lockchain-core/README.md
parent3488a2ed44d751fbbb84a588bd2b1f1f7b8f58ca (diff)
More refactoring across the sky
Diffstat (limited to 'lockchain-core/README.md')
-rw-r--r--lockchain-core/README.md45
1 files changed, 1 insertions, 44 deletions
diff --git a/lockchain-core/README.md b/lockchain-core/README.md
index b79c82d..9456b72 100644
--- a/lockchain-core/README.md
+++ b/lockchain-core/README.md
@@ -1,46 +1,3 @@
# lockchain-core
-This library ecosystem is made of three main parts.
-
- - `lockchain-core` Common types shared between both `secret` and `default` operation modes.
- - `lockchain-files` load vaults, decode files and work with encrypted streams.
- - `lockchain-crypto` attach crypto handlers to vaults as a middleware to decrypt data.
-
-If you're a Rust developer and interested in the `lockchain` crate, this README is for you. Lockchain is a document based, encrypted data vault. It provides you with an easy to use API to create, manage and update vaults and records. Build robust and user-friendly applications that deal with their data in a secure manner.
-
-Most notibly, this crate is being used by the [lockchain]() password manager as well as the [poke]() linux ssh key manager.
-
-## Example
-
-Here is the most minimal example of how to use lockchain.
-
-```Rust
-use lockchain::record::Payload;
-use lockchain::vault::Vault;
-
-fn main() {
- let mut v = Vault::new(
- "user_secrets",
- "~/.local/my_app/",
- "user password here, it's hashed we promise",
- ).unwrap();
-
- /* Add a new record and put some data into it */
- v.add_record("User", "I say this is a category", None);
- v.add_data(
- "User",
- "data_key",
- Payload::Text(
- "This is some really important data that needs to be kept secure. Promise me!!!"
- .to_owned(),
- ),
- );
-
- /* All changes are kept in RAM until you sync */
- v.sync();
-}
-```
-
-## Security notice
-
-The cryptography in this crate has not undergone any formal review or verification. While stability and data integrity can be thoroughly tested, the security of this crate can not be guaranteed. **Use it at your own risk!** \ No newline at end of file
+Contains common types used in the `lockchain` ecosystem. Exposes serde serialisable types that can be embedded into various applications. \ No newline at end of file