Skip to content

nokinobi/Cryptography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptography

Content

  • Gost
  • Blowfish
  • Des

Usage

// main.cpp
int main(int argc, char **argv) {
    generate(); // if you do not have 'info file '
    encrypt(); // encrypt 'text' file 
    decrypt(); // decrypt 'encrypted' file 
    return 0;
}    

// header.h
// global constants
const string THE_GOAL_FILE="../text";         // File to be encrypted   
const string MAIN_INFORMATION_FILE="../info"; // Main information file   
const string ENCRYPTED_FILE="../encrypted";   // Encrypted file 
const string DECRYPTED_FILE="../decrypted";   // Decrypted file 


// encrypt & decrypt 
cout<<"Count of rounds [1:32] = ";
cin >> ROUNDS_COUNT;   // parameter for encryption/decryption

Done

Gost

  • Java
  • C++
  • C#
  • Python

Blowfish

  • Java
  • C++
  • C#
  • Python

DES

  • Java
  • C++
  • C#
  • Python

About

Some cryptography methods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors