Skip to content
Snippets Groups Projects
Commit 9ad8d51a authored by M33's avatar M33 :speech_balloon:
Browse files

update readme with light version

parent 4664886f
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment