Skip to content

Latest commit

 

History

History
17 lines (8 loc) · 377 Bytes

File metadata and controls

17 lines (8 loc) · 377 Bytes

3FCG

3FactorCodeGenerator

Generating and validating 6 symbols codes

  • How to use?

Just import this file to your project and then call function genCode(key) or function valCode(code, key) from class tfcg In args include your key

  • How it works?

By gmt time, gmt date and secret key that formatting and hashing by md5 and then returning 6 first symbols in uppercase