Skip to content

Use variable for computing buffer length.#60

Merged
dfish3r merged 2 commits intomasterfrom
59-otp-truncate
Jan 25, 2022
Merged

Use variable for computing buffer length.#60
dfish3r merged 2 commits intomasterfrom
59-otp-truncate

Conversation

@serac
Copy link
Copy Markdown
Member

@serac serac commented Jan 24, 2022

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 #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 #59
Comment thread src/test/java/org/cryptacular/generator/TOTPGeneratorTest.java Outdated
@dfish3r dfish3r merged commit 3419f66 into master Jan 25, 2022
@dfish3r dfish3r deleted the 59-otp-truncate branch August 15, 2023 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants