קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מפתחות Tink מכילים חומר מפתח וגם מטא-נתונים. בקטע בנושא תיוג מידע מוצפן (ciphertext) מסביר איך ב-Tink מאפשר גם להוסיף תחילית של מידע מוצפן למחרוזת של 5 בייטים, שנגזרת מהמזהה. המשמעות היא שהמפתח תלוי גם במזהה שיש לו בקבוצת המפתחות.
לכן, כדי ליצור מפתח חדש, Tink משתמשת באופן כללי במרכיבים הבאים:
אובייקט שמתאר את כל הפרמטרים
המזהה של המפתח החדש
רנדומיזציה אחידה ומאובטחת מבחינה קריפטוגרפית
דוגמה
לדוגמה: HMAC (RFC 2014).
כדי לציין חישוב HMAC ב-Tink, צריך לספק את הפרטים הבאים, שמרכיבים את המפתח:
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eTink keys comprise key material and metadata, including parameters like hash function and output length, but exclude key material randomness and key ID.\u003c/p\u003e\n"],["\u003cp\u003eCreating a new key in Tink involves using parameters, a unique key ID, and cryptographically secure random data.\u003c/p\u003e\n"],["\u003cp\u003eKey parameters in Tink encompass information used for key creation, such as hash function, output length, and key material length, but exclude the actual key material.\u003c/p\u003e\n"],["\u003cp\u003eA complete Tink key combines its parameters, key material, and a unique ID, enabling secure cryptographic operations.\u003c/p\u003e\n"]]],["Tink keys comprise key material and metadata, including a prefix derived from the key ID. To create a key, Tink uses parameters, the key's ID, and randomness. Key parameters consist of information used to create the key, excluding the key material and ID. For HMAC, parameters include key material length, hash function, output length (if truncated), and how to derive the prefix from the ID. These parameters, with the key material and ID, define the full key.\n"],null,[]]