Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
get hexadecimal hash string for a number
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Magnus Warker, post: 5050384"] Hi, I want users to register on a site and send confirmation emails to them. These emails should contain a link like this: [URL]http://myurl?registration=E4AC4BD4[/URL] Here, "E4AC4BD4" should be a unique string. My idea for such a string is just to hash an integer, i. e. the internal database key for the registration record. However, I actually don't know how to get such a hash. I tried BCrypt, but this produces hashes built out of characters that I would not want to be in a URL, e. g. commatas and that. I would like to have a string like this: - hexadecimal only - fixed size, e. g. always n characters, independend of the integer Can you help? Thank you! Magnus [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
get hexadecimal hash string for a number
Top