From d5d46be57630c718c83d338213d24c754ba51472 Mon Sep 17 00:00:00 2001 From: Adler Medrado Date: Sun, 13 Oct 2024 15:03:41 -0300 Subject: [PATCH] Release update and example improvement --- examples/symmetric_cipher.md | 10 +++------- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/examples/symmetric_cipher.md b/examples/symmetric_cipher.md index 1fc75de..8fa20b6 100644 --- a/examples/symmetric_cipher.md +++ b/examples/symmetric_cipher.md @@ -1,12 +1,8 @@ -from shadow_data.cryptohash.symmetric_cipher import Symmetricfrom torch.distributions.constraints import symmetric - # Symmetric encryption -This simple encryption and decryption approach use symmetric cryptography -Basically the user can generate a encryption key and use it to encrypt and decrypt data. - -**The key management is user's responsability, ShadowData don't save any kind of keys or credentials.** +This simple encryption and decryption method uses symmetric cryptography. Users can generate an encryption key, which they can use to both encrypt and decrypt their data. +**Key management is the user’s responsibility; _ShadowData_ does not store any keys or credentials.** ## How to use ```python @@ -30,7 +26,7 @@ Encrypted: b'gAAAAABnDAexPmKZ0Bh9U4KH7iv_OsHQ1p2ijjJjdHYbagZ-xdyWRT5ChcAw_gVSwfP Decrypted: Hello World! ``` -## If the key was already created +## If the key has already been created ```python from shadow_data.cryptohash.symmetric_cipher import Symmetric diff --git a/pyproject.toml b/pyproject.toml index 86acaee..623eaca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "shadow_data" -version = "0.3.0" +version = "0.4.0" description = "A sensitive data handler python library" readme = "README.md" authors = ["Adler Medrado "]