I want to use HMAC to verify data integrity transmitted between our IOS\Android mobile app and API,I want to prevent data tempering either by authenticated user or man-in-middle, completely trustless.
I know we need a shared secret key to be used by both mobile app and server, I know we can establish key exchange by RSA, But want to sure this exchange come from mobile and not Postman or keys can intercepted by a proxy.
Should I have a secret key embedded inside mobile code and server? What do you recommend for a complete trustless mode? API can be used completely by postman and We want to make sure requests sent by our mobile app and data not altered at middle. it is a web3 app, so no authentication like traditional user and pass.