feat(sha384-extend): enhance SHA384 extend utility with padding and tests

- Refactor `sha384-extend` to include digest padding and validation.
- Add `extend_sha384` function for hex-string-based digest extension.
- Introduce comprehensive test coverage for edge cases and errors.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2025-03-26 14:31:16 +01:00
parent 7258452b79
commit fa2ecee4bd
Signed by: harald
GPG key ID: F519A1143B3FBE32
6 changed files with 234 additions and 33 deletions

View file

@ -12,3 +12,4 @@ anyhow.workspace = true
clap.workspace = true
hex.workspace = true
sha2.workspace = true
teepot.workspace = true