tree: 0c523ecda5bc5b57f9f4d6e63c4102941ef33606 [path history] [tgz]
  1. Assets.xcassets/
  2. Base.lproj/
  3. AeadPrimitive.h
  4. AeadPrimitive.m
  5. AppDelegate.h
  6. AppDelegate.m
  7. Info.plist
  8. main.m
  9. Podfile
  10. project.pbxproj
  11. README.md
  12. ViewController.h
  13. ViewController.m
examples/objc/helloworld/README.md

Obj-C Hello World

This is an example iOS application that can encrypt and decrypt text using AEAD (Authenticated Encryption with Associated Data).

It demonstrates the basic steps of using Tink, namely generating key material, obtaining a primitive, and using the primitive to do crypto.

The example comes with a Podfile that demonstrates how to install Tink from Cocoapods.

Build and Run

Cocoapods

git clone https://github.com/google/tink
cd tink/examples/helloworld/objc
pod install
open TinkExampleApp.xcworkspace