> but could someone explain why using encryption or even an HMAC for external views of a primary key doesn't make sense?
it does make sense and it's what you should do instead of using a UUID as PK for this purpose.