The TOTP changes every time. For modern totp hashing I’m not sure how many sequential codes a keylogger would need but I’m guessing more than I will ever enter.
Edit, asked ai for an answer to that because I was curious (maybe it’s right):
Start AI
That being said, if an attacker were able to collect a large number of TOTP codes, they might be able to launch a brute-force attack to try to guess the private key. However, this would require an enormous amount of computational power and time.
To give you an idea of the scale, let’s consider the following:
Assume an attacker collects 1000 TOTP codes, each 6 digits long (a common length for TOTP codes).
Assume the private key is 128 bits long (a common length for cryptographic keys).
Assume the attacker uses a powerful computer that can perform 1 billion computations per second.
Using a brute-force attack, the attacker would need to try approximately 2^128 (3.4 x 10^38) possible private keys to guess the correct one. Even with a powerful computer, this would take an enormous amount of time - on the order of billions of years.
My TikTok feed is full of content that I find interesting and educational, from creators who work hard to make something valuable.
For them, banning TikTok means the work they put in to curating an audience will be partially lost, they’ll retain only the followers who find them on another app. If they are monetizing, they’ll potentially have to start over. That may discourage some who are just getting started from developing their craft.
If china, bytedance, meta, or any other platform is collecting user data in such a way as to be a national threat they definitely need to cut it out and this should be regulated. For example, it should be impossible to identify the location of military generals based on where their wives access TikTok from, or who’s having an affair with who based on proximity to each other, or to develop a vast dataset of individually identifiable profiles of every user that could be used to selectively damage their character.
Aside from these problems, which are potentially solvable, I think the individual creator/maker economy is an awesome way to give more power to the people.