Fractus
Fractus is a cryptographic attack library written in rust. It is also available through python
Run
Rust
cargo add fractus
use sha2_256;
let m = b"abc";
let h = compute;
let e = b"cde";
let mut c = m.to_vec;
c.extend;
c.extend;
let e = extend;
assert_eq!;
Python
pip install fractus
= b + b
=
= b
assert ==
Features
Length Extension Attack
- MD4
- MD5
- SHA0
- SHA1
- SHA2_256
- SHA2_512
- Ripemd128
- Ripemd160
- Ripemd256
- Ripemd320
- Whirlpool