Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3283968
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:06:06+00:00 2026-05-17T20:06:06+00:00

Is there a good algorithm for this? after an amount of searching around I

  • 0

Is there a good algorithm for this? after an amount of searching around I haven’t been able to find any conclusive answers.

Basically in a system which collects various bits of data about its users, each user is identified by a 64 bit unique Id. this Id is used as a primary key to a data set which may include any amount of data collected from this user. as is, this works fine as the Id’s are already unique, but for legal reasons I need to hash the Id’s in a way that I cannot link them back to the actual person. but at the same time needing to guarantee the uniqueness of the ID.

Obviously with the values being unique it would be possible to reverse engineer the algorithm used. but I’m not so sure that it being 100% unbreakable is so much of an issue here rather than making it so there isn’t an easy way of reversing it

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:06:07+00:00Added an answer on May 17, 2026 at 8:06 pm

    For each ID generate a unique random ID and store it as part of the users information.

    Then you can get from an ID to hash. The reverse is computationally possible (as you must scan the whole key space) but excessively hard and time consuming.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What's a good algorithm to solve this problem? I have three groups of people
Are there any named/famous/particularly good algorithms for organizing email messages into threads? I'm looking
Are there any good references for synchronisation algorithms? I'm interested in algorithms that synchronize
Is there any good way to deal with the class renaming refactor from Resharper
Are there good reasons why it's a better practice to have only one return
Are there good efficiency savings using Sql Server 2005 over Sql Server 2000? Or
Is there good example code or a test project for explaining the Model–view–presenter (MVP)
What are the tensions between multithreading and exception-safety in C++? Are there good guidelines
Is there a good way for displaying unicode text in opengl under Windows? For
Is there a good ruby gem for a WYSIWYG editor that will easily work

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.