Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Can't get any single valid code #7

Closed
laitlito opened this issue Dec 25, 2020 · 5 comments
Closed

Can't get any single valid code #7

laitlito opened this issue Dec 25, 2020 · 5 comments

Comments

@laitlito
Copy link

Is it just me or every single code I try to generate is Invalid ?
I've been trying about 1000 codes and they all are invalid.

@BySplashGm
Copy link

because it generate a lot of random codes and check them but they are not at sure valid

@i0Z3R0
Copy link

i0Z3R0 commented Dec 28, 2020

@laitlito
Of course you won't find a valid code in 1k codes. You have to understand how many possible code combinations there are. The program generates a 16 digit long alphanumeric string to check. This means there are 26+26+10 = 62 possible combinations if there was only 1 letter. Since there's 16, and we're counting permutations, there would be 62^16 possible codes, which turns out to be 4.77e28. That's 477,000,000,000,000,000,000,000,000. 477 septillion combinations. Of course you won't get a valid code on the first 1 thousand. Even if there were 1 billion unexpired valid codes (keep in mind 250 million users use Discord so this is an overestimation), you would still have to check 477,000,000,000,000,000 codes to find a valid one. If anyone could crack a nitro code easily, Discord would be bankrupt.

@laitlito
Copy link
Author

hmmm yeah thanks for the detailed answer bro

@ZelliDev
Copy link

@HZ-0Z3R0 Miscalculation errors, You should recalculate.

The official is 71.39E78
Well, A number with 78 zeros behind.

@TKperson
Copy link

I also did a calculation in this post: dfrnoch/nitro-generator#8 (comment)

@zafross zafross closed this as completed Jul 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants