I want to create a Server S1, that publish a different value every 10 minutes on the internet. The value looks something like f7826da6-4fa2-4e98-8024-bc5b71e0893e
.
I want a create another server, S2 able to verify at anytime if a value is generated by S1 or not.
Everyone on the internet can see and collect the values generated by S1 so the rotation/encryption function has to be more or less secure and for example not increasing the original value by 1 every 10 minutes.
maybe sharing a key between the two servers and than use it to encrypt the value at each time is one solution but I have a very basic knowledge in cryptography and don't know how to start. Is there a name for the mechanism I want to do ? Do you know what are the different mechanism to achieve it ?