---
title: "Discussion on \"Understanding TOTP: What Really Happens When You Generate That 6-Digit Code\" | Hashnode"
description: "Discussion on \"Understanding TOTP: What Really Happens When You Generate That 6-Digit Code\". This article started from a tweet.\nSomeone on Twitter said they \"lowkey want to understand the technology behind Google Authenticator\" and I dropped a quick reply - explaining that it's basically TOTP: your device and the server share a secret key, b..."
url: "https://hashnode.com/posts/understanding-totp-what-really-happens-when-you-generate-that-6-digit-code/6936fc403f84fa092ee09f98"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding TOTP: What Really Happens When You Generate That 6-Digit Code](https://blog.yusadolat.me/understanding-totp-what-really-happens-when-you-generate-that-6-digit-code?utm_source=hashnode&utm_medium=feed)

This article started from a tweet. Someone on Twitter said they "lowkey want to understand the technology behind Google Authenticator" and I dropped a quick reply - explaining that it's basically TOTP: your device and the server share a secret key, b...

Dec 8, 2025 · 5 min read · blog.yusadolat.me  
Read the article

-   [#totp](https://hashnode.com/tag/totp)
-   [#authentication](https://hashnode.com/tag/authentication)
-   [#google](https://hashnode.com/tag/google)
-   [#how-it-works](https://hashnode.com/tag/how-it-works)

## Written by

[Yusuf Adeyemo](https://hashnode.com/@yusadolat)

@yusadolat · Ilorin, Kwara State

  
[View profile](https://hashnode.com/@yusadolat)

DevOps Consultant

Yusuf Adeyemo is a DevOps Engineer from Nigeria. He loves helping startups deliver better software and provide more control over their environment and software development process with the help of modern tools and automation.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
