diff --git a/activesupport/lib/active_support/message_encryptors.rb b/activesupport/lib/active_support/message_encryptors.rb index 44d4374cfc0b4..4fc3d20a1c0ba 100644 --- a/activesupport/lib/active_support/message_encryptors.rb +++ b/activesupport/lib/active_support/message_encryptors.rb @@ -130,6 +130,7 @@ class MessageEncryptors < Messages::RotationCoordinator # indicate whether old option sets are still in use or can be removed from # rotation. + ## private def build(salt, secret_generator:, secret_generator_options:, **options) secret_length = MessageEncryptor.key_len(*options[:cipher]) diff --git a/activesupport/lib/active_support/message_verifiers.rb b/activesupport/lib/active_support/message_verifiers.rb index 8cbd1047989e8..0f7733a3a493e 100644 --- a/activesupport/lib/active_support/message_verifiers.rb +++ b/activesupport/lib/active_support/message_verifiers.rb @@ -126,6 +126,7 @@ class MessageVerifiers < Messages::RotationCoordinator # indicate whether old option sets are still in use or can be removed from # rotation. + ## private def build(salt, secret_generator:, secret_generator_options:, **options) MessageVerifier.new(secret_generator.call(salt, **secret_generator_options), **options)