> For the complete documentation index, see [llms.txt](https://habibalftrh.gitbook.io/safetoken/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://habibalftrh.gitbook.io/safetoken/safetoken.md). Agents can also search and read this documentation through its [MCP server](https://habibalftrh.gitbook.io/safetoken/~gitbook/mcp).

# SafeToken

Secure Time-based One-Time Password (TOTP) Token Generator based on HMAC-SHA1

<figure><img src="https://2703535373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1Q7wfAmDWAq0r4aHm8iV%2Fuploads%2Fgit-blob-e00d7e7f2665b8325bf4e1b81a5056a5105624b0%2Fcover.jpg?alt=media" alt="SafeToken token generator connected to the desktop application"><figcaption><p>SafeToken token generator connected to the desktop application</p></figcaption></figure>

**SafeToken** is a hardware token that generates Time-based One-Time Passwords (TOTP) with HMAC-SHA1, together with a desktop application to configure it. It adds a second factor (2FA) to any platform that supports authenticator apps, such as Google, Facebook, and Instagram.

## Background

In an increasingly digital world, account security matters more than ever, especially with the rise of cyber attacks such as credential theft. Passwords alone are often no longer enough to protect sensitive data, and two-factor authentication (2FA) has become an effective answer.

One of the most popular forms of 2FA is the **Time-based One-Time Password (TOTP)**. A TOTP is a one-time password derived from a secret key and the current timestamp, which gives a dynamic extra layer of security that is hard to break. TOTP is used everywhere, from social media to online banking.

Popular TOTP apps such as Google Authenticator are widely used, but they still run on phones and computers that can be compromised by more advanced attacks, such as data theft through malware. Meanwhile, hardware token generators on the market are often expensive and limited in what they can do.

SafeToken was built to fill that gap: a TOTP token generator that is **secure, affordable, and easy to use**. Its design applies both physical and information security, so users can protect their personal accounts across many platforms.

## Purpose of this guide

This guide gives clear, step-by-step instructions for both new and experienced users of the SafeToken token generator and its desktop application. It aims to:

1. **Introduce the basic concepts** of the token generator and desktop application: how TOTP authentication works and why it matters.
2. **Give clear, structured steps** for every feature, from setting up the device and registering accounts to generating codes and signing in.
3. **Help you solve problems** you may run into, through a troubleshooting section with practical fixes for common issues.
4. **Help you get the most out of every feature**, from basic authentication to account management and device settings.

{% hint style="info" %}
New here? Start with [How 2FA with TOTP works](https://habibalftrh.gitbook.io/safetoken/two-factor-authentication-with-totp.md), then follow the [Desktop Application Guide](https://habibalftrh.gitbook.io/safetoken/desktop-application-guide/desktop-application-guide.md) to register your first account.
{% endhint %}
