Implementing One-Time Passwords in Crystal

Read the original article: Implementing One-Time Passwords in Crystal


Crystal is still a young language; there aren’t a lot of libraries available yet. For some, this could be offputting, but for others, this is a chance to learn about a language and provide useful tools for those also starting to use it.

I’ve given a number of talks over time, some of which were about two-factor authentication. A while back, I took the opportunity to improve my knowledge and implement the one-time password algorithm in Crystal.


Read the original article: Implementing One-Time Passwords in Crystal