Though this will probably not be successful to say... Enter a totp system, it is useful on it's own. (you'll get different results because it uses a different script) It is time based encryption, used to make a unique password depending on your intial text and the time it is. If you enter the same text multiple times in a minute you will get the same result. Hence time based encryption.
All by me. This is to be used for a 2FA system, optimally you would generate a encrypted string of characters that user uses as the password for this, thus making your connection more secure. Also the longer the passwords, the less predictable results you'll get. (not neccasary)