Skip to content

Instantly share code, notes, and snippets.

@bvermeule
bvermeule / OneTimePasswordAlgorithm.java
Created August 2, 2016 09:23
HOTP Algorithm: Reference Implementation
/*
* OneTimePasswordAlgorithm.java
* OATH Initiative,
* HOTP one-time password algorithm
*
*/
/* Copyright (C) 2004, OATH. All rights reserved.
*
* License to copy and use this software is granted provided that it