Method: ActiveWebhook::Verification::HMACSHA256Adapter#signature
- Defined in:
- lib/active_webhook/verification/hmac_sha256_adapter.rb
#signature ⇒ Object
11 12 13 |
# File 'lib/active_webhook/verification/hmac_sha256_adapter.rb', line 11 def signature Base64.strict_encode64(OpenSSL::HMAC.digest("sha256", secret, data)) end |