GeminiSoftware Engineer · Technical ScreenCodemia practiceValidate Signed API Requests With Strictly Increasing Nonces
Write the server-side check for private API calls where the client sends a base64 JSON payload containing a nonce, signed with HMAC-SHA384 using the API secret. Accept a request only if the key exists, the signature matches, and the nonce is within a time window and strictly greater than the last accepted nonce for that key.
Medium
Software Engineering Fundamentals