-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control Optimus output size #9
Comments
Try and modify |
I don't really know what that means in practical terms, my math is pretty rusty.
Which didn't really work, since it gave this output:
So either I am doing something wrong, or it didn't work as expected. |
It has to be a power of 2. |
Thank you for the reply. The results were:
|
Can you show me on go playground |
Yes, sure. Here it is: https://go.dev/play/p/op2AXGK8_xm |
I mean your code |
Yes, the code is in the main function inside the go playground I linked above. |
Maybe the mod function assumes int64 |
how to support int64? |
Is it possible to limit the digit number of the optimus obfuscation output?
Like, generate obfuscated ids with up to 7digits.
I understand this would limit the number of possible ids, but it would still be helpful for my use-case.
The text was updated successfully, but these errors were encountered: