Hello everyone, has anyone worked with encryption ...
# compose-web
s
Hello everyone, has anyone worked with encryption in kotlin wasm. I am trying to initialize RSA cipher and encrypt something using public key but couldn't figure how to do it in wasm, tried using this lib https://github.com/whyoleg/cryptography-kotlin but no luck. will appreciate any help
c
you checked this matrix and verified your algo is supported?https://whyoleg.github.io/cryptography-kotlin/providers/#supported-algorithms-per-provider
s
thanks for sharing, i just saw that unfortunately it's not supported. Is there any other way to do that like do same implementation in js and use as interop with kotlin ?
c
Check klibs.io and search in the #C0BJ0GTE2 channel.
thank you color 1
k
@Sumit Jha What specific algorithm are you looking for?