プリミティブの選択
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ユースケースを選択して適切なプリミティブを特定し、リンク先でプリミティブの使用に関するガイダンスを確認します。
データを暗号化する
|
基本ロール |
詳細 |
...標準サイズ |
関連データを伴う認証付き暗号化(AEAD) |
- ほとんどのニーズに適しています - 最大 232 バイトの平文を受け入れます - 平文の機密性を確保し、完全性と真正性を検証します |
...大規模なファイルまたはデータ ストリーム内 |
ストリーミング AEAD |
- 1 回のステップで処理できないほど大きいデータの場合 |
...決定論的に |
決定論的 AEAD |
- 特定の平文と鍵に対して同じ暗号文を生成します。 |
...KMS で保護された鍵を使用 |
Key Management System(KMS)エンベロープ AEAD |
- すべての平文を新しい AEAD 鍵で暗号化 - すべての AEAD 鍵を KMS で暗号化 |
...公開鍵で、秘密鍵でデータを復号する |
ハイブリッド暗号化
|
- 未認証 - 送信者がシークレット(秘密鍵)を保存できない場合に便利 |
これらのプリミティブはすべて、暗号テキストをコンテキストにバインドできます。
次のようにして、データの真正性と完全性を確保します。
その他
ご不明な点がある場合は、
Tink 組織ページにリンクされている言語固有の GitHub リポジトリで、問題を作成します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-14 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-11-14 UTC。"],[[["Tink provides cryptographic primitives for encrypting data, ensuring authenticity and integrity, and managing keys, categorized by use case for easy selection."],["Developers can choose from primitives like AEAD, Streaming AEAD, Deterministic AEAD, KMS Envelope AEAD, and Hybrid Encryption for data encryption with varying features and functionalities."],["MAC and Digital Signature primitives are available for verifying data integrity and authenticity, with different verification mechanisms."],["Tink supports JSON Web Tokens (JWTs) and offers KMS-Encrypted Primitives for advanced key management scenarios."],["Detailed guidance on primitive usage is accessible via linked documentation for each specific implementation."]]],["The content outlines cryptographic primitives based on use cases. For encrypting data, options include AEAD for standard needs, Streaming AEAD for large data, Deterministic AEAD for consistent ciphertexts, KMS Envelope AEAD for key protection, and Hybrid Encryption for public/private key scenarios. For data integrity and authenticity, MACs and Digital Signatures are available. Additional primitives include JWTs, and KMS-encrypted primitives for securing keysets. All encryption methods allow binding ciphertext to context. Questions can be raised in the GitHub repository.\n"]]