Results 98 comments of Thai Duong

Yeah we're working on improving documentation and providing more examples. For this particular problem we'll add a a tool that allows to convert back and forth from Tink to other...

Does https://github.com/google-pay/tink-jni-examples work for you?

Yes, this is a useful feature. At Google we use this in several products, though not with user-supplied data because users tend to forget or lose data. Instead, we usually...

Tink is shipped with a the following Proguard config that should work out of the box: https://github.com/google/tink/blob/master/java_src/src/main/resources/META-INF/proguard/protobuf.pro

``` private fun generateKeySetHandler(prefKey: String): KeysetHandle { val params = HmacParams.newBuilder().setHash(HashType.SHA512).setTagSize(64).build(); val format = HmacKeyFormat.newBuilder().setParams(params).setKeySize(64).build() val keyTemplate = KeyTemplate.create( HmacKeyManager().keyType, format.toByteArray(), KeyTemplate.OutputPrefixType.TINK ) val androidKeySetManager = AndroidKeysetManager.Builder() .withKeyTemplate(keyTemplate) .withSharedPref(context, prefKey,...

Although [tink-crypto](https://www.npmjs.com/package/tink-crypto) is alpha, `npm install tink-crypto` should work, right?

Hi there, Internally we aim to replace `KeysetHandle.write()` with a new interface `AsyncKeysetAead`: ```java /** * Interface for Asynchronous Authenticated Encryption with Associated Data (AEAD) for tink {@code * Keysets}....

Have you got any help from the Google Pay team?

@bleichen We're aware of this issue, and are wondering how we should design the key exchange interface. Daniel, could you please shed some light on what you think we should...

Thanks for improving Tink! This looks good to me. How much memory are we saving with this PR? @bleichen or @tholenst, any opinions?