coreCryptoNew

suspend fun coreCryptoNew(path: String, key: DatabaseKey, clientId: ClientId, ciphersuites: List<Ciphersuite>, entropySeed: ByteArray?, nbKeyPackage: UInt?): CoreCrypto(source)

Free function to construct a new CoreCrypto instance.

This is necessary because in uniffi async constructors are not supported.

See Session::try_new