Skip to content

Implementations of cryptography algorithms with benchmarks

Notifications You must be signed in to change notification settings

vinnik-dmitry07/crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmark

Method AES 1* AES 2 Kalyna (mine) Kalyna 1 Kalyna 2 RC4 Salsa20
Hours/Gb 5.4 29 10 120 290 0.47 0.0064

* ECB ~= CBC ~= PCBC ~= CFB ~= OFB ~= CTR

AES 2 - http://anh.cs.luc.edu/331/code/aes.py

Kalyna 1 - https://github.com/bre30kra69cs/KalinaPy

Kalyna 2 - https://github.com/trident-10/kalyna_cipher/

Collision report

The number of random strings to receive the same hash:

String length \ Method SHA256 Kupyna
2 152 191
3 457 891
4 15951 17605
5 1110507 129372

RSA benchmark

Hours / 10 GB:

Secret length RSA RSA-OAEP
16 0.33 2
32 0.66 5
64 1.5 11
128 3.75 25

About

Implementations of cryptography algorithms with benchmarks

Topics

Resources

Stars

Watchers

Forks

Languages