[null,null,["最后更新时间 (UTC):2024-10-14。"],[[["Tink APIs accept arbitrary binary data as input, requiring serialization of structured data like Protocol Buffers before encryption."],["Tink provides various encryption methods like AEAD, hybrid encryption, and deterministic AEAD to secure serialized data."],["Tink supports data integrity through digital signatures and MACs, but verification doesn't guarantee data formatting."],["Protecting multiple data items involves serialization, preferably using Protocol Buffers or length-prefixed concatenation, followed by encryption or authentication."]]],["Tink API handles binary blobs, requiring structured data like protocol buffers to be encoded first. To encrypt a protobuf, serialize it to bytes, then encrypt using AEAD, hybrid, or deterministic AEAD methods. Decryption involves decrypting the ciphertext and deserializing the protobuf. To protect from tampering, serialize, then sign or authenticate using digital signature or MAC, storing the signature with the data, verifying the signature before deserializing. Protecting multiple items requires serialization via a protobuf or a length-prefixed method, followed by encryption or authentication.\n"]]