diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2019-07-16 20:22:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-16 20:22:55 +0100 |
commit | 8a9a96c7e88ee2c7c4c6fc717ad4a3e7c9a672f8 (patch) | |
tree | 31b9c03f91af6f4ab988dc2f1e6eb8a555472e8a /activesupport/lib | |
parent | 85b422bd7fcb93c6a3d13f78fca55b85f69865a1 (diff) | |
parent | 08d7d70fadd0c477d369e750bc84bc5ad99d5ec3 (diff) | |
download | rails-8a9a96c7e88ee2c7c4c6fc717ad4a3e7c9a672f8.tar.gz rails-8a9a96c7e88ee2c7c4c6fc717ad4a3e7c9a672f8.tar.bz2 rails-8a9a96c7e88ee2c7c4c6fc717ad4a3e7c9a672f8.zip |
Merge pull request #36648 from louim/patch-1
Update message verifier documentation [ci skip]
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/message_verifier.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/message_verifier.rb b/activesupport/lib/active_support/message_verifier.rb index c4a4afe95f..a5dc1181d8 100644 --- a/activesupport/lib/active_support/message_verifier.rb +++ b/activesupport/lib/active_support/message_verifier.rb @@ -178,8 +178,8 @@ module ActiveSupport # Generates a signed message for the provided value. # - # The message is signed with the +MessageVerifier+'s secret. Without knowing - # the secret, the original value cannot be extracted from the message. + # The message is signed with the +MessageVerifier+'s secret. + # Returns Base64-encoded message joined with the generated signature. # # verifier = ActiveSupport::MessageVerifier.new 's3Krit' # verifier.generate 'a private message' # => "BAhJIhRwcml2YXRlLW1lc3NhZ2UGOgZFVA==--e2d724331ebdee96a10fb99b089508d1c72bd772" |