15 ms·
I was wondering a similar implementation. I encrypt/decrypt database IDs to opaque them on the API. For primary entities but not enums/etc. I separated API vs C
by accnt 9y ago
I was wondering a similar implementation. I encrypt/decrypt database IDs to opaque them on the API. For primary entities but not enums/etc.
I separated API vs Core/Database so I wasn't too fond of adapting the entities to add a sort-of public id column so I create it at run-time.
- ivan_gammel 9y agoI can share my code on Github, it will be interesting to find some commons. Probably, this approach deserves more attention.