टिंक सेट अप
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Tink को सोर्स से बनाया जा सकता है या भाषा के हिसाब से बने पैकेज का इस्तेमाल किया जा सकता है. यहां दिए गए निर्देशों का पालन करके, इस सुविधा का इस्तेमाल शुरू किया जा सकता है.
Tink को इंस्टॉल और सेट अप करने के बाद, इस पेज के आखिर में दिए गए अगले चरण पर जाएं.
Python
Tink Python लाइब्रेरी, tink-py, macOS (x86-64 और ARM64), Linux (x86-64 और
ARM64), और Windows (x86-64) पर Python 3.9 या उसके बाद के वर्शन के साथ काम करती है. सबसे नई रिलीज़
1.12.0 है. इसे Pip का इस्तेमाल करके स्थानीय तौर पर इंस्टॉल किया जा सकता है या Bazel के साथ इस्तेमाल किया जा सकता है.
Tink Python, AWS
KMS, Google Cloud
KMS, और HashiCorp
Vault के साथ इंटिग्रेशन की सुविधा देता है.
पीआईपी
अपने सिस्टम के लिए, PyPI से Tink की Python बाइनरी रिलीज़ इंस्टॉल की जा सकती है. इसके लिए, यह कमांड चलाएं:
pip3 install tink==1.12.0
# Core Tink + Google Cloud KMS extension.
pip3 install tink[gcpkms]==1.12.0
# Core Tink + AWS KMS extension.
pip3 install tink[awskms]==1.12.0
# Core Tink + HashiCorp Vault KMS extension.
pip3 install tink[hcvault]==1.12.0
# Core Tink + all the KMS extensions.
pip3 install tink[all]==1.12.0
अगर आपके एनवायरमेंट के लिए कोई बाइनरी पैकेज पब्लिश नहीं किया गया है, तो pip
PyPI पर पब्लिश किए गए सोर्स डिस्ट्रिब्यूशन का इस्तेमाल करके, प्रोजेक्ट को अपने-आप बनाता है. अगर ऐसा है, तो प्रोजेक्ट को बिल्ड करने के लिए, आपके पास Bazel या Bazelisk और protobuf compiler इंस्टॉल होना चाहिए.
Bazel
Tink Python 1.12 और उसके बाद के वर्शन के लिए, Bazel के उपयोगकर्ताओं को MODULE.bazel
का इस्तेमाल करना होगा:
bazel_dep(name = "tink_py")
archive_override(
module_name = "tink_py",
urls = ["https://github.com/tink-crypto/tink-py/releases/download/v1.12.0/tink-py-1.12.0.zip"],
strip_prefix = "tink-py-1.12.0",
sha256 = "5968d0ba84f1fc958f685cfdfc667bfb1d8414a22eaa6f502b290a23af2aba43",
)
फ़िलहाल, हम Bazel Central Registry में Tink Python पब्लिश नहीं करते.
अगले चरण
Tink को सेट अप करने के बाद, Tink के इस्तेमाल के लिए स्टैंडर्ड तरीका अपनाएं:
- प्राइमटिव चुनना – इस्तेमाल के उदाहरण के आधार पर तय करें कि आपको कौनसा प्राइमटिव इस्तेमाल करना है
- कुंजियां मैनेज करना – बाहरी केएमएस की मदद से अपनी कुंजियों को सुरक्षित रखना, पासकोड सेट जनरेट करना, और पासकोड बदलना
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eTink can be built from source or installed using language-specific packages for C++, Go, Java, Objective-C, and Python.\u003c/p\u003e\n"],["\u003cp\u003eTink offers core libraries and extensions for cloud key management systems like AWS KMS and Google Cloud KMS.\u003c/p\u003e\n"],["\u003cp\u003eAfter installation, users should choose a cryptographic primitive and establish a key management strategy.\u003c/p\u003e\n"],["\u003cp\u003eLanguage-specific instructions and dependencies are detailed for building and using Tink in each supported language.\u003c/p\u003e\n"],["\u003cp\u003eTink supports various operating systems, compilers, and build systems for each language, ensuring flexibility for developers.\u003c/p\u003e\n"]]],["Tink can be set up via source or language-specific packages. For C++, use Bazel or CMake, ensuring dependencies like Protobuf and Abseil are met. Go uses `go get` for core and extension libraries like AWS KMS, Google Cloud KMS, and HashiCorp Vault. Python employs `pip3 install` or Bazel for installation, supporting extensions. After setting up Tink, users should choose a primitive and manage keys.\n"],null,["# Tink setup\n\nYou can build Tink from source or use language-specific packages. The following\ninstructions get you started.\n\nAfter you've finished installing and setting up Tink, continue with the [Next\nSteps](#next_steps) at the end of this page. \n\n### C++\n\n[Set up Tink C++ and extensions](/tink/setup/cc)\n\n### Go\n\n[Set up Tink Go and extensions](/tink/setup/go)\n\n### Java\n\n[Set up Tink Java and extensions](/tink/setup/java)\n\n### ObjC\n\n| **Note:** These instructions are for the newest release, [Tink\n| 1.7.0](https://github.com/google/tink/releases/).\n\nSee the [HOWTO on GitHub](https://github.com/google/tink/blob/v1.7.0/docs/OBJC-HOWTO.md)\n\n### Python\n\n\nThe Tink Python library, [tink-py](https://github.com/tink-crypto/tink-py),\nsupports Python 3.9 or newer on macOS (x86-64 and ARM64), Linux (x86-64 and\nARM64) and Windows (x86-64). The latest release is [1.12.0](https://github.com/tink-crypto/tink-py/releases/tag/v1.12.0). It can be installed locally using\n[Pip](https://pypi.org/project/pip/) or used with\n[Bazel](http://bazel.build).\n\nTink Python provides integrations with [AWS\nKMS](https://aws.amazon.com/kms/), [Google Cloud\nKMS](https://cloud.google.com/kms/) and [HashiCorp\nVault](https://www.vaultproject.io/).\n\nPip\n---\n\nYou can install the Tink Python binary release for your system from\n[PyPI](https://pypi.org/project/tink/), by running the following command: \n\n pip3 install tink==1.12.0\n # Core Tink + Google Cloud KMS extension.\n pip3 install tink[gcpkms]==1.12.0\n # Core Tink + AWS KMS extension.\n pip3 install tink[awskms]==1.12.0\n # Core Tink + HashiCorp Vault KMS extension.\n pip3 install tink[hcvault]==1.12.0\n # Core Tink + all the KMS extensions.\n pip3 install tink[all]==1.12.0\n\nIf a binary package is not published for your environment, `pip`\nautomatically resorts to building the project using the source distribution\npublished to PyPI. If this is the case, you need [Bazel](http://bazel.build)\nor [Bazelisk](https://github.com/bazelbuild/bazelisk) and the [protobuf\ncompiler](https://github.com/protocolbuffers/protobuf#protocol-compiler-installation) installed to successfully build the project.\n\nBazel\n-----\n\nFor Tink Python 1.12 and later, [Bazel](http://bazel.build) users need to\nuse `MODULE.bazel`: \n\n bazel_dep(name = \"tink_py\")\n\n archive_override(\n module_name = \"tink_py\",\n urls = [\"https://github.com/tink-crypto/tink-py/releases/download/v1.12.0/tink-py-1.12.0.zip\"],\n strip_prefix = \"tink-py-1.12.0\",\n sha256 = \"5968d0ba84f1fc958f685cfdfc667bfb1d8414a22eaa6f502b290a23af2aba43\",\n )\n\nWe don't publish Tink Python in the Bazel Central Registry at the moment.\n\nNext steps\n----------\n\nOnce you've finished setting up Tink, continue with the standard Tink usage\nsteps:\n\n- [Choose a primitive](/tink/choose-primitive) -- Decide which primitive to use based on your use case\n- [Manage keys](/tink/key-management-overview) -- Protect your keys with your external KMS, generate keysets, and rotate your keys"]]