---
title: "Discussion on \"🔐How to decode and use 2FA code generated by TOTP Algorithm 🤖\" | Hashnode"
description: "Discussion on \"🔐How to decode and use 2FA code generated by TOTP Algorithm 🤖\". You may have entered a 6-digit code from a 2FA app like Google Authenticator 😬, but where did this code come from? The answer lies within the QR code and the inner workings of the Time-based One-time Password algorithm (TOTP) 🔍.\nIn this article, we..."
url: "https://hashnode.com/posts/how-to-decode-and-use-2fa-code-generated-by-totp-algorithm/640eeea7822efe5e97b0a161"
---

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

Discussion

# [🔐How to decode and use 2FA code generated by TOTP Algorithm 🤖](https://blog.raphaelcarlosr.dev/how-to-decode-and-use-2fa-code-generated-by-totp-algorithm?utm_source=hashnode&utm_medium=feed)

You may have entered a 6-digit code from a 2FA app like Google Authenticator 😬, but where did this code come from? The answer lies within the QR code and the inner workings of the Time-based One-time Password algorithm (TOTP) 🔍. In this article, we...

Mar 13, 2023 · 2 min read · blog.raphaelcarlosr.dev  
Read the article

-   [#2fa](https://hashnode.com/tag/2fa)
-   [#totp](https://hashnode.com/tag/totp)
-   [#algorithm](https://hashnode.com/tag/algorithm)
-   [#hash](https://hashnode.com/tag/hash)
-   [#hotp](https://hashnode.com/tag/hotp)

## Written by

[Raphael Carlos Rego](https://hashnode.com/@raphaelcarlosr)

@raphaelcarlosr · São Paulo, Brazil

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

Full stack software engineer, application security specialist

Experienced, creative, and motivated software engineer with a solid background in full stack software development and 18+ years of experience, acculturated in devsecops.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
