Reorganized
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -1,25 +1,82 @@
|
|||
# TOOLS:
|
||||
|
||||
- https://www.cryptool.org/en/cryptool1-en
|
||||
|
||||
- frequency analyses online:
|
||||
http://www.simonsingh.net/The_Black_Chamber/hintsandtips.html
|
||||
http://www.xarg.org/tools/caesar-cipher/
|
||||
# Cryptography
|
||||
|
||||
|
||||
## ROT13
|
||||
|
||||
In the command line
|
||||
## MD5
|
||||
|
||||
|
||||
### Scripts
|
||||
|
||||
- Hash length extension attack
|
||||
- Brute force hex digest chars
|
||||
|
||||
|
||||
|
||||
------
|
||||
|
||||
## SHA
|
||||
|
||||
|
||||
### Scripts
|
||||
- SHA-256 brute force
|
||||
|
||||
|
||||
--------
|
||||
|
||||
## Rotation Ciphers
|
||||
|
||||
|
||||
### Scripts
|
||||
- Caesar
|
||||
- Brute force rotation
|
||||
- Pygenere
|
||||
- Frequency analysis
|
||||
|
||||
|
||||
### Online tools:
|
||||
|
||||
- Frequency analysis: [here](http://www.simonsingh.net/The_Black_Chamber/hintsandtips.html) and [here](http://www.xarg.org/tools/caesar-cipher)
|
||||
|
||||
### In the command line
|
||||
|
||||
```sh
|
||||
$ VAR=$(cat data.txt)
|
||||
$ echo "$VAR"
|
||||
$ alias rot13="tr A-Za-z N-ZA-Mn-za-m"
|
||||
$ echo "$VAR" | rot13
|
||||
```
|
||||
VAR=$(cat data.txt)
|
||||
echo "$VAR"
|
||||
alias rot13="tr A-Za-z N-ZA-Mn-za-m"
|
||||
echo "$VAR" | rot13
|
||||
### In Python
|
||||
|
||||
In Python [we can use decoding](https://docs.python.org/2/library/codecs.html#codec-base-classes):
|
||||
|
||||
```python
|
||||
"YRIRY GJB CNFFJBEQ EBGGRA".decode(encoding="ROT13")
|
||||
```
|
||||
----
|
||||
|
||||
## Pailier Cryptosystem
|
||||
|
||||
In Python we can use: ```"YRIRY GJB CNFFJBEQ EBGGRA".decode(encoding="ROT13")```
|
||||
https://docs.python.org/2/library/codecs.html#codec-base-classes
|
||||
### Scripts
|
||||
|
||||
- POC
|
||||
- Primes
|
||||
|
||||
---
|
||||
|
||||
## Tools
|
||||
|
||||
### Scripts:
|
||||
|
||||
- Finding GDC
|
||||
- Finding if prime
|
||||
- Generate prime
|
||||
- Quick Select
|
||||
- XORtool
|
||||
|
||||
|
||||
### Online
|
||||
|
||||
- [Cryptol](https://www.cryptool.org/en/cryptool1-en)
|
||||
|
||||
-----
|
||||
|
||||
|
|