Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sheroz committed Sep 4, 2023
1 parent ac689fa commit b5add8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ Please look at [magma_samples](https://github.com/sheroz/magma/tree/main/magma_s
- Message Authentication Code (MAC) [calculate_mac.rs](https://github.com/sheroz/magma/blob/main/magma_samples/src/calculate_mac.rs)
- Buffer encryption [encrypt_buffer.rs](https://github.com/sheroz/magma/blob/main/magma_samples/src/encrypt_buffer.rs)
- Buffer encryption by parallel processing [encrypt_buffer_parallel.rs](https://github.com/sheroz/magma/blob/main/magma_samples/src/encrypt_buffer_parallel.rs)
- On a MacBook M1 Pro with 8+2 cores, the encryption speed increased ~ 8.3 times
- On an i7-3770 with 4 cores, running Linux, the encryption speed increased ~ 4.5 times
- File encryption [encrypt_file.rs](https://github.com/sheroz/magma/blob/main/magma_samples/src/encrypt_file.rs)
- Bitmap file encryption [encrypt_bmp.rs](https://github.com/sheroz/magma/blob/main/magma_samples/src/encrypt_bmp.rs)

Expand All @@ -52,7 +54,7 @@ Please look at [magma_samples](https://github.com/sheroz/magma/tree/main/magma_s

---

### Encrypted bitmap in Electronic Codebook Mode (ECB) Mode
### Encrypted bitmap in Electronic Codebook (ECB) Mode

[![Ferris the crab, encrypted in ECB Mode](https://raw.githubusercontent.com/sheroz/magma/main/magma_samples/tests/out/encrypted_ecb.ferris.bmp)](https://raw.githubusercontent.com/sheroz/magma/main/magma_samples/tests/out/encrypted_ecb.ferris.bmp)

Expand Down

0 comments on commit b5add8c

Please sign in to comment.