Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 980 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 980 Bytes

ARS_ENCRYPT

⚒ ARS_ENCRYPT is a modified caesar's-cipher-based encrypt system written in C++.
🔐 ARS_ENCRYPT contains 6 layers of security and a decrypt system.

📌 Usage : (example.cpp)

#include <iostream>
#include "ars.cpp"

int main(){
    // Test encrypt :
    std::string encrypt_text = encrypt("azerty1234", security.STANDARD_SEC_1);
    std::cout << encrypt_text << std::endl;

    // Test decrypt :
    std::string decrypt_text = decrypt(encrypt_text, security.STANDARD_SEC_1);
    std::cout << decrypt_text << std::endl;
    return 0;
}

Require the ars.cpp file and use the functions encrypt() & decrypt()
Security layer goes from 1 to 6. Check in the standard_security.cpp file.