Skip to content

Cryptography

CRYPTOGRAPHY NOTES

key terms :

  1. hash
  2. SHA-256
  3. Digest
  4. Salt
  5. HMAC

How to securely roll out api keys to users using public private key encryption ?

The server generates a public / private key pair, shows the user the private key. The private key is never stored in the db or any server side part.

The public key is stored in a transactional db / cache db.