/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Behind the 6-digit code: Building HOTP and TOTP from scratch
(blog.dogac.dev)
248 points
dogacel
| 2 comments |
11 Apr 25 13:06 UTC
|
HN request time: 0.605s
|
source
1.
coolThingsFirst
◴[
15 Apr 25 16:36 UTC
]
No.
43695261
[source]
▶
>>43653322 (OP)
#
What is HMAC i still dont understand this part? Is it RSA encrytion?
replies(1):
>>43696344
#
ID:
GO
2.
dogacel
◴[
15 Apr 25 18:00 UTC
]
No.
43696344
[source]
▶
>>43695261 (TP)
#
No, RSA is asymetric, where it has a public/private key pair.
HMAC is symetric, it only has a secret and it can be used to hash values one-way.
↑