Skip to content

moukyh/RC6-with-CBC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

hi!

RC6 Encryption and Decryption using CBC mode and part of CTR mode

密码学大作业,使用分组密码完成加解密系统,并采用分组密码工作模式如CBC,OFB,CTR等。我开始使用了CTR模式

但目前所学知识并不足以在并行系统上完成,所以便采用CBC模式。同时,这两个模式也是目前最常用的模式。

Now plaintenxt is set in C:/plaintext.txt, with a ciphertext generated after run this cpp.

And this cpp will read ciphertext.txt, and decrypt it, and generate a confirm plaintext.txt in C:/

to verify the correctness of encryption and decrption mode.

Also the cpp also has the normal encryption and decryption. ( In the bottom of cpp )

I use MD5 to generate Keys with your password.

If u dunt want like this, u can ask generate keys ramdomly or type manually.

Thats's all.

Thanks for commenting and correcting.

Attention : the keys are in hex. And edit your ciphertext.txt in C:/ in advance

About

normal work , no peculiar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages