Random TOTP secret generator

Create a new Base32 secret (20 bytes / 160 bits by default) for enrolling an authenticator. Copy it into your app and into the TOTP generator if you want it saved in a cookie on this device.

Use in generator