BastiaanJansen / otp-java

A small and easy-to-use one-time password generator library for Java implementing RFC 4226 (HOTP) and RFC 6238 (TOTP).
MIT License
186 stars 30 forks source link

Can TOPGenerator generate an alphanumeric OTP code? #49

Closed rmatute closed 2 years ago

rmatute commented 2 years ago

Hi @BastiaanJansen, I was testing your example and I find it very interesting.

I was wondering if with this I can generate an alphanumeric OTP code.?

BastiaanJansen commented 2 years ago

Hi, RFC 4226 (HOTP) and RFC 6238 (TOTP) don't specify alphanumeric OTP codes, therefore it is not included in this library.