Closed serac closed 2 years ago
Base offset of truncate method on buffer size, which is directly related to the hash algorithm output size. Add test coverage using test vectors from RFC 6238, which covers SHA1, SHA256, and SHA512.
See https://github.com/vt-middleware/cryptacular/issues/59
Base offset of truncate method on buffer size, which is directly related to the hash algorithm output size. Add test coverage using test vectors from RFC 6238, which covers SHA1, SHA256, and SHA512.
See https://github.com/vt-middleware/cryptacular/issues/59