tink-crypto / tink

Tink is a multi-language, cross-platform, open source library that provides cryptographic APIs that are secure, easy to use correctly, and hard(er) to misuse.
https://developers.google.com/tink
Apache License 2.0
13.47k stars 1.18k forks source link

compile tink cpp library for ios #728

Closed 24Lathiya closed 7 months ago

24Lathiya commented 7 months ago

I am uploading the encrypted file to Google Drive from the Android app using Streaming AEAD and the same file downloading in the iOS app. Tink Streaming AEAD encryption/decryption works fine in Android, but now I want to do the same thing in iOS too.

As per Streaming AEAD is not supported by the objective-c tink library.

So I would like to integrate the cpp library with Xcode to use the Streaming AEAD encryption/decryption function in my swift code.

I followed lots of documents but I am not able to figure out how to link the cpp library with Xcode. If anyone has an idea please let me answer briefly in the comment.

An example will be more appreciated.

@chuckx @thaidn @jclinton @kant @divegeek @theory

morambro commented 7 months ago

Duplicate of tink-crypto/tink-objc#7

morambro commented 7 months ago

Please have a look at https://github.com/google/tink/issues/632#issuecomment-1876672949 which may help you with this

24Lathiya commented 7 months ago

@morambro It is also my question. I posted again because of did not get any appropriate answer. Still, I looking for brief answer. If you have any ideas regarding the question.

I think if objective-c library will support Streaming AEAD functionalities then it will be more appreciable.

morambro commented 7 months ago

Please follow-up in https://github.com/google/tink/issues/632 if you have more questions/concerns.