Skip to content
Snippets Groups Projects
user avatar
Thai Duong authored
Instead of

Config.register(AeadConfig.TINK_1_1_0);

We'd do

AeadConfig.register();

I kept the static init blocks in AeadConfig, but it's only for backward compatibility. We'd always require users calling the init function. This gives us consistency across all languages.

I also deprecated TINK_1_1_0 and introduced LATEST which contains the configs of the latest version.

Advanced users can always do Config.register(myCustomConfig);

PiperOrigin-RevId: 203125864
GitOrigin-RevId: cd138962f88ff693e9c13cef3399f956f6d6513e
571a7261
Name Last commit Last update
..