Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/berkbavas/cryptostuff

Cryptographic algorithms and attacks in Java 8
https://github.com/berkbavas/cryptostuff

cbc-mode close-primes cryptanalysis cryptography fermat-factorization four-square miller-rabin-test monoalphabetic-cipher pkcs1 playfair-cipher rsa rsa-pkcs1-padding vigenere-cipher

Last synced: about 1 month ago
JSON representation

Cryptographic algorithms and attacks in Java 8

Awesome Lists containing this project

README

        

# Cryptographic Algorithms and Attacks

The project implements few cryptographic algorithms and attacks in ``Java 8``.

You may use ``mvn compile`` and ``mvn test``
commands in order to compile the project and run the tests.

## Content

- Algorithms
- Asymmetric Cipher
- RSA with PKCS1 v1.5 Padding
- Traditional Ciphers
- Four Square
- Monoalphabetic
- Playfair
- Vigenere

- Attacks
- CBC Padding Oracle Attack
- RSA
- Fermat Factorization
- Miller Factorization
- Kindle Signature Forgery Attack
- An Attack for RSA Signature Without Any Padding Scheme
- Close Primes
- Attacks on Traditional Ciphers
- Four Square
- Monoalphabetic
- Playfair
- Vigenere

## Tests
https://github.com/user-attachments/assets/d09b1dd9-4022-4f5c-987e-0e9aeb3ed72a

## Acknowledgement
- I implement the attacks on traditional ciphers by following the solution presented here: http://practicalcryptography.com/cryptanalysis/