From 9ad8d51a9773b8e1d612b58cff272d78f57c7c62 Mon Sep 17 00:00:00 2001 From: m33 <327-m33@git.qoto.org> Date: Fri, 16 Apr 2021 17:42:23 +0200 Subject: [PATCH] update readme with light version --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c5c71b..267edf7 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,24 @@ Nim Library implementing a variation of Simple And Efficient Data Encryption Alg `gen_iv("your random data: string")` => gives you an Initialization Vector (type: string) + +## SAEDEA complete implementation + +`ecrypt("your cleartext data: string", "the shared secret: string", "initialization vector: string", "length of the cleartext data: int")` +=> gives the encrypted data (type: string) + +`decrypt("the encrypted string", "the shared secret: string", "initialization vector: string", "length of the cleartext data: int")` +=> gives the cleartext data (type: string) + + +## SAEDEA light implementation + `ecrypt("your cleartext data: string", "the shared secret: string", "initialization vector: string")` => gives the encrypted data (type: string) `decrypt("the encrypted string", "the shared secret: string", "initialization vector: string")` => gives the cleartext data (type: string) - ## Disclamer, misc This is an early test implementation -- GitLab