pquerna / otp

TOTP library for Go
Apache License 2.0
2.32k stars 224 forks source link

Allow users to specify a custom io.Reader when generating TOTP/HOTP keys #46

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello,

I have a use case where I would like to specify an io.Reader other than crypto/rand's Reader to be used in sourcing random numbers.

I tried to capture the change in this PR #45

Please let me know what you think.

Thank you.

pquerna commented 5 years ago

45 is merged -- thanks again!