Questions tagged [keys]
For questions regarding encryption keys
27 questions
1 vote
1 answer
139 views
Long dictionary/map key vs shorter key + equality check for an auth cache
I'm implementing an API key based authentication scheme and I'm caching valid API key entries (hash, scope etc.) in a memory cache. For the cache key, I had been using the first 8 characters of the ...
1 vote
2 answers
2k views
Composite Id based on another Aggregate root?
An Aggregate Root should always have a unique ID within the bounded context. Typically the examples one finds use a GUID for this to ensure global uniqueness. However consider a bounded context for a ...
-1 votes
2 answers
144 views
Detecting keyboard "callbacks" directly from a keyboard not from a operating system
So, I am making a pure 2D shooter in Unity, and I was thinking about cheats a little bit (Yes, I know that nobody is going to play my game but anyway). I was wondering if you can get pressed keys ...
-4 votes
1 answer
136 views
Is it bad to leave Azure secrets keys as plaintext in my source code if I don't release the code, only the exe? [closed]
Specifically worried that someone might be able to extract the API key in a way I am unaware of and make calls to my own Cognitive Services subscription outside of the context of my program.
2 votes
1 answer
2k views
How to store private ssh keys for my application?
I 've a pair of private and public ssh keys, which I'm using in encrypting and decrypting my JWT. So I'm creating and signing my JWT with my private key and shared the public key with the client who ...
-1 votes
3 answers
459 views
When to use a reserved word, null or undefined as a key in an object?
I have a case where I have a dictionary object and a value with no key. The object can have the system values and then a user value. I have to store that value. I could use a reserved word or I ...
1 vote
2 answers
1k views
How should I access a third party API which requires a key?
I am accessing a third-party API. It requires a key, which is the same key for all of my users. Currently, my application includes that key in the client-side code, and calls the third party API ...
6 votes
2 answers
3k views
Right way to spread secret keys between microservices
I have a few services that sign some data with an asymmetric cryptography algorithm (like RSA). I need to spread some secret (private) keys between all instances of the service. I've found a few ways ...