2254ecaf7c
feat(web): add simple webpage
2025-11-26 01:11:19 +02:00
46a47102b9
feat(factory): add cipher/algorithm helper functions
2025-11-24 12:02:22 +02:00
051bba33a8
feat(cli): add AES to cli app
2025-11-24 11:23:37 +02:00
5b3ca7eacf
test(aes): add 100 roundtrip integration tests
2025-11-24 11:01:02 +02:00
a8ccd3d294
refactor(aes): operate on custom values
2025-11-24 10:48:27 +02:00
37f8a97a11
refactor(aes): move to operations module
2025-11-24 08:50:22 +02:00
505cc8b08e
feat(aes): Add SubkeyChunks and SubkeyChunksRev iterators to Subkeys
...
- Implements `chunks()` returning iterator over 4-element subkey arrays.
- Implements `chunks_rev()` returning reverse iterator for decryption.
- Enables cipher rounds to iterate over round keys sequentially and in reverse.
2025-11-24 08:50:22 +02:00
dae5b69966
feat(aes): Add missing transformation methods to Block128
2025-11-24 08:50:22 +02:00
830c457b2a
feat(aes): Implement transform_impl with encryption and decryption rounds
...
- Implements core `transform_impl` handling both Encrypt and Decrypt actions.
- Implements 10-round AES encryption (standard rounds + final round).
- Implements 10-round AES decryption (inverse rounds + final inverse round).
- Adds `add_round_key` helper to XOR state with subkey block.
2025-11-24 08:50:22 +02:00
fc3eadcf3b
feat(aes): Implement InvShiftRows and InvMixColumns transformations
...
- Implements `inv_shift_rows` performing cyclic right shifts on state rows.
- Implements `inv_mix_columns` using inverse Galois Field matrix multiplication.
- Adds unit tests verifying inverse transformations are true inverses.
2025-11-24 08:50:22 +02:00
70a0e183b5
feat(aes): Implement ShiftRows and MixColumns transformations
...
- Implements `shift_rows` performing cyclic shifts on the state matrix rows.
- Implements `mix_columns` using Galois Field matrix multiplication.
- Adds `gmul` and `xtime` const helpers for GF(2^8) arithmetic.
- Adds unit tests verifying transformations against FIPS-197 vectors.
2025-11-24 08:50:22 +02:00
3de3440f16
feat(aes): add inverse SBox lookup
2025-11-24 08:50:22 +02:00
b2c5209214
feat(aes): add substitute bytes
2025-11-24 08:50:22 +02:00
7e5162fb44
feat(aes): add round key
2025-11-24 08:50:22 +02:00
4007a9a04d
fix: clippy warnings
2025-11-24 08:50:22 +02:00
bf6ae712a7
feat(aes): generate subkeys
2025-11-24 08:50:22 +02:00
88328256b3
feat(aes): add subkey blanket
2025-11-24 08:50:22 +02:00
8b80e17f82
feat(aes): add 128 bit key and block
2025-11-24 08:50:22 +02:00
bc1622e43f
chore: use workspace package vars
2025-11-24 08:50:22 +02:00
f42080c90a
feat: make factory lib
2025-11-24 08:49:57 +02:00
bfa93c095a
chore: remove tui module
2025-11-24 08:45:56 +02:00
262c7decfe
fix(des): 64 bit block creation
2025-11-06 11:03:29 +02:00
db53ae2ee7
refactor(des): use InputBlock trait
2025-11-04 10:03:20 +02:00
211a7cefe6
fix: doctests
2025-10-20 11:59:53 +03:00
98e459051e
refactor: remove feature options
2025-10-20 11:53:07 +03:00
3231cea0f2
feat(tui): copy add basic event driven template
2025-10-18 14:36:27 +03:00
81a4071c73
refactor: replace anyhow with color-eyre
2025-10-18 14:12:48 +03:00
66b440adf6
feat(cli): make flat command structure
2025-10-17 22:53:35 +03:00
54ddcab377
refactor(cli): change subcommand order
2025-10-17 22:05:56 +03:00
dc243a8731
chore: remove decimal format
2025-10-17 21:50:05 +03:00
46a5b90d34
feat(cli): add basic cli feature
2025-10-17 21:47:09 +03:00
76a808e1b3
feat(core): add CipherOutput type
2025-10-17 21:35:47 +03:00
74dd8eb27d
test(des): add edge cases
2025-10-17 20:52:01 +03:00
14ccb2288d
feat(block): add secret_block! macro
2025-10-17 20:46:04 +03:00
db52714d52
refactor(key): improve secret_int! macro
2025-10-17 20:37:13 +03:00
2d59f4fb70
fix: wrong value in S8 box
2025-10-17 19:42:02 +03:00
6175305641
feat(des): implement basic encryption
2025-10-17 17:14:43 +03:00
9e91e90303
feat: add Key56 and Half28
2025-10-14 10:00:13 +03:00
e75eff8cd5
feat: add secret_int macro
2025-10-13 19:01:52 +03:00
27b31d1fcc
refactor: update error methods
2025-10-13 15:02:34 +03:00
e36ba664c6
feat: add basic cipher traits
2025-10-13 15:02:24 +03:00
c4ff76ce9b
feat: add CryptoError
2025-10-13 14:12:11 +03:00
78140827ee
Create LICENSE-MIT
2025-10-13 12:52:21 +03:00
5bf531f4ca
Create LICENSE-APACHE
2025-10-13 12:51:43 +03:00
cb8128addf
Initial commit
2025-10-13 12:49:49 +03:00