I'd like to map a random ID of 16 bytes (sourceID) to another random ID of 16 bytes (targetID).
The operation should:
- only be reversible by me
- be deterministic
There are about 1 million source ID's that need to be mapped. The target ID is public, while the source ID is private.
I was thinking of using AES with ECB to map the source ID to target ID.
mapID(sourceID, key) = targetID
What is the likelihood of someone being able to reverse the process if they only have the targetID?
Is this a terrible Idea?