/libsaedea

Primary LanguageNimMIT LicenseMIT

libsaedea

Nim Library implementing a variation of Simple And Efficient Data Encryption Algorithm

Research paper pdf: INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 8, ISSUE 12, DECEMBER 2019 ISSN 2277-8616 from IJSTR.org

Usage:

import libsaedea

gen_iv("your random data: string") => gives you an Initialization Vector (type: string)

SAEDEA complete implementation

saedea_ecrypt("your cleartext data: string", "the shared secret: string", "initialization vector: string", "length of the cleartext data: int") => gives the encrypted data (type: string)

saedea_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

saedea_ecrypt("your cleartext data: string", "the shared secret: string", "initialization vector: string") => gives the encrypted data (type: string)

saedea_decrypt("the encrypted string", "the shared secret: string", "initialization vector: string") => gives the cleartext data (type: string)

Disclamer, misc

This is implementation has not been fool proofed as per today

Icons from srip from www.flaticon.com