1
1

More than 3 years have passed since last update.

Webhookで使われる署名検証をRubyで実装する

Last updated at Posted at 2019-10-08

自分用メモ

digest = OpenSSL::HMAC.digest("sha256", "key", "data")
signature = Base64.strict_encode64(digest)    // UDH+PZicbRU3oBP6bnOdojRj/a7DtwE32Cjjas4iG9A=
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1