Leo Vasanko
04b11e9925
README tuning. New benchmark results (a bit slower than initial versions were).
2025-11-09 20:40:04 -06:00
Leo Vasanko
f5430a6ad4
Cleanup.
2025-11-09 20:00:12 -06:00
Leo Vasanko
bb9d11842a
Convert all input buffers to memoryview before use and use .nbytes, because len() doesn't work correctly with some buffers. Update docs with a Numpy example.
2025-11-09 09:46:21 -06:00
Leo Vasanko
62fc8fa855
Make Mac class prevent further updates or final after finalisation. Keep cached values for hashlib API.
2025-11-09 08:53:50 -06:00
Leo Vasanko
95563a43d1
API updates:
...
- Mac class follows hashlib API: digest functions added and finalization no longer modifies state.
- Encryptor and Decryptor now raise RuntimeError if still used after final.
Documentation updated with the changes and further examples.
Tests updated with the changes, new test module for error cases (test_raises).
Docstrings improved.
2025-11-08 18:53:27 -06:00
Leo Vasanko
e58990a1c2
Add human-readable algorithm name as NAME constant.
2025-11-08 16:01:05 -06:00
Leo Vasanko
13445887e9
Constants renamed and values extracted from C code rather than function call at runtime. Documentation update.
2025-11-08 15:43:01 -06:00
Leo Vasanko
77601d7f57
README
2025-11-07 10:30:23 -06:00
Leo Vasanko
5e19bd980e
Documentation updates, added BUILD.md
2025-11-07 10:20:27 -06:00
Leo Vasanko
63ccef577d
Use uv in the commands.
2025-11-07 10:00:36 -06:00
Leo Vasanko
555bbcf2a5
README formatting
2025-11-07 09:59:20 -06:00
Leo Vasanko
96ce7867de
README updated
2025-11-07 09:52:28 -06:00
Leo Vasanko
b15174af8b
Make random_key and random_nonce return bytearray, and add a nonce_increment utility function.
2025-11-07 07:43:33 -06:00
Leo Vasanko
02eb4d7718
README
2025-11-06 21:11:38 -06:00
Leo Vasanko
7175654b27
API cleanup for simplified update/final. Returns bytearrays when into is not used. Allows into buffers larger than needed. Misc other changes.
2025-11-06 19:38:18 -06:00