simpleaes

simpleaes Mercurial Source Tree


Root/main.cpp

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <iostream>
#include "simpleAes.hpp"
  
using namespace std;
  
int main(){
        
        string text = "This is a test2342 9r8j340 gf9gj0 98dfgj0df98b jdf09g8j";
        cout << "String is: " << text << endl;
        
        cout << "Encrypting.." << endl;
        text = aes_encrypt(text, "key");
        //cout << text << endl;
        
        cout << "Decrypting.." << endl;
        text = aes_decrypt(text, "key");
        
        cout << "String is: " << text << endl;
        
        return 0;
}
Source at commit tip created 12 years 1 month ago.
By Nathan Adams, initial commit

Archive Download this file

Branches

Tags

Page rendered in 2.44820s using 11 queries.