How to secure my secretKey that i use for encrypting data?

Viewed 106

New to this field Can anyone help me with it?

I've tried storing it in build.gradle file,

buildConfigField "String", "secretKey", "\"$key\""    //$key contains key

but got an alert from play console after publishing it.

Security alert

Your app contains unsafe cryptographic encryption patterns.

0 Answers
Related