Hi there :wave: Is it possible that Apple’s `Cryp...
# ios
m
Hi there 👋 Is it possible that Apple’s
CryptoKit
will be available in the future as a platform library in the kotlin native ios? Currently there is only
CoreCrypto
available which doesn’t have the features I need…
t
CryptoKit is Swift only AFAIK, there is no direct Kotlin/Native and Swift interop at the moment. You can use it indirectly by creating your own wrapper.
m
It is how I did, I’ve just wondering if it is going to change. It is now hidden by interface and injected from the Swift code, but this way it can’t be easily extracted to the separated gradle module. I’m not sure if it is swift-only, as the Apple has the separated swift library called Swift Crypto 🤔 Anyway, thanks for confirmation, I’ll stay with my approach 👍
t
swift-crypto is the open source version of a subset CryptoKit afaik.
👍 1