-
Notifications
You must be signed in to change notification settings - Fork 99
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
How to generate fixed length key? #18
Comments
There is no simple way of doing it, you need to dive into the code and rewrite it PS: I made an ui for shorty: Here |
The demo doesn't work. |
There is a note saying that this is a demo and the demo doesn't work, please read that |
Your UI demo looks pretty! 👍 |
Hello, it's me again. IMPORTANT: Changing the padding variable will permanently change all short links |
Thank you for your research.
I decided to use HashIds for php instead, which can generate fixed length key easily. There are many implementations of HashIds. |
For example, always generate 6-chars key for id 1 to 1,000,000?
The text was updated successfully, but these errors were encountered: