I was curious if anybody has recommendations for e...
# multiplatform
a
I was curious if anybody has recommendations for encrypting strings across all platform targets in KMP? I began writing a firebase auth library that can be used on any platform utilizing multiplatform settings and ktor hitting the restful api and even though I'm not a security expert the one thing I know is refresh/access tokens probably shouldn't be stored in plain text. From some of the research I have done, I found Krypto and KVault. Krypto seems to support all platforms but has out of date documentation so I was struggling to figure out the best way to encrypt/decrypt strings and KVault only supports android and ios which defeats the purpose of the library as one might as well just use firebase-kotlin-sdk which wraps the official sdks with only 80% of the API covered for authentication. Any examples/resources would be greatly appreciated.