jiangts / JS-OTP

100% Javascript Implementation of HOTP and TOTP for Two-Factor Authentication.
https://jiangts.github.io/JS-OTP
MIT License
256 stars 70 forks source link

Lack of credits/licence in jsOTP.js #7

Open fpoulain opened 6 years ago

fpoulain commented 6 years ago

Hi,

jsOTP.js Lack of credits and licence infos.

I added this in the file I use, inspired from jsOTP.min.js:

--- a/jsOTP.js
+++ b/jsOTP.js
@@ -1,3 +1,11 @@
+/*
+* File combining
+* (1) sha.js by Brian Turek 2008-2013 under BSD license
+* (2) and a modified js OTP implementation found on JSFiddle
+*
+* See https://github.com/jiangts/JS-OTP for more information
+*/
+
 (function() {
   var Hotp, Totp;