Is there a kotlin equivalent to java.security.*?
# multiplatform
a
Is there a kotlin equivalent to java.security.*?
j
do you need it for hashing? then you can use this library: https://korlibs.soywiz.com/krypto/
2
a
Thanks! I also need it to decode a JWT
I was looking at the auth0 lib, but that doesn't build well in MPP because of all the java dependencies. I've kotlin-irized that library, but it still has dependencies like java.security.RSAPublicKey, etc.
I know those are just Serializable interfaces with an serialId, which I could probably roll me own, but just wanted to know if there was something out there already