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

  • SEARCH
  • Home
  • 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 8256615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:54:37+00:00 2026-06-08T01:54:37+00:00

I was considering hashing small blocks of sensitive ID data but I require to

  • 0

I was considering hashing small blocks of sensitive ID data but I require to maintain the full uniqueness of the data blocks as a whole once obfuscated.

So, I came up with the idea of encrypting some publicly-known input data (say, 128 bits of zeroes), and use the data I want to obfuscate as the key/password, then throw it away, thus protecting the original data from ever being discovered.

I already know about hashing algorithms, but my problem is that I need to maintain full uniqueness (generally speaking a 1:1 mapping of input to output) while still making it impossible to retrieve the actual input. A hash cannot serve this function because information is lost during the process.

It is not necessary that the data be retrieved once “encrypted”. It is only to be used as an ID number from then on.

An actual GUID/UUID is not suitable here because I need to manually control the identifiers on a per-identifier basis. The IDs cannot be unknown or arbitrarily generated data.


EDIT: To clarify exactly what these identifiers are made of:

  • (unencrypted) 64bit Time Stamp
  • ID Generation Counter (one count for each filetype)
  • Random Data (to make multiple encrypted keys dissimilar)
  • MAC Address (or if that’s not available, set top bit + random digits)
  • Other PC-Specific Information (from registry)

The whole thing should add up to 192 bits, but the encrypted section’s content size(s) could vary (this is by no means a final specification).


Given:

  • A static IV value
  • Any arbitrary 128bit key
  • A static 128 bits of input

Are AES keys treated in a fashion that would result in a 1:1 key<---->output mapping, given the same input and IV value?

  • 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-06-08T01:54:39+00:00Added an answer on June 8, 2026 at 1:54 am

    No. AES is, in the abstract, a family of permutations of which you select a random one with the key. It is the case that for one of those permutations(i.e. for encryption under a given AES key) you will not get collisions because permutations are bijective.

    However, for two different permutations (i.e. encryption under different AES keys, which is what you have), there is no guarantee what so ever that you don’t get a collision. Indeed, because of the birthday paradox, the likelihood of a collision is probably higher than you think.

    If your ID’s are short ( < 1024 bits) you could just do an RSA encryption of them which would give you want you want. You’d just need to forget the private key.

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

Sidebar

Related Questions

Considering the code: <noscript><div>FOO</div></noscript> Running $('noscript').html(); returns &lt;div&gt;FOO&lt;/div&gt; but running $('noscript').text(); returns the raw
Considering the following data frames : > tail(tot.final) names.id sequence names.reads width.reads names.counts st
Considering that everyone is always worried about User Data (And Rightly So), would it
Considering this example as a base example. I created the application but when I
Considering the full list of PDC videos published here what are, in your opinion,
Considering developer's perspective , what's the most efficient way to create, maintain, and improve
Considering the following (pointless, but it's for illustration purpose) test class : public class
Considering the following TSQL: INSERT INTO Address(Street1, City, State, ZipCode) SELECT Street1, City, StateCode,
Considering this part of a Java class, private List<Object> components = new ArrayList<Object>(); private
Considering that simple java code which would not work: public class Bar extends AbstractBar{

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.