[null,null,["最后更新时间 (UTC):2024-10-14。"],[[["The Registry in Tink is a global entity responsible for generating new keys and primitives, but it is intended for internal use only and is slated for removal."],["The Registry forwards calls from `getPrimitive()` to objects that create keys and primitives, and these objects must be registered for the process to work."],["It's essential to explicitly register the primitives you intend to use (e.g., `MacConfig.register()`), to ensure your code works consistently and doesn't rely on the unpredictable behavior of other libraries."],["Relying on other libraries to register primitives can lead to unexpected code breakage if the library's registration practices change, making it crucial to self-manage registrations."]]],["The Registry is a global entity in Tink for generating keys and primitives, but it's slated for removal and should not be directly accessed. `getPrimitive()` calls are forwarded to the Registry, which then creates the correct object, if registered. It is crucial to register the primitives one intends to use directly, using method like `MacConfig.register()`, because relying on library registration leads to code fragility and unwanted dependencies. The class is considered for removal.\n"]]