README.md
# CaptainHookSignature
[](https://github.com/annatel/captain_hook_signature/actions) [](https://github.com/annatel/captain_hook_signature/issues) [](http://opensource.org/licenses/MIT) [](https://hex.pm/packages/captain_hook_signature) [](https://hex.pm/packages/captain_hook_signature)
`CaptainHookSignature` follow the [Stripe's specification](https://stripe.com/docs/webhooks/signatures#verify-manually) for signing requests.
The code is based on [bytepack](https://github.com/dashbitco/bytepack_archive) from dashbitco.
[`CaptainHook`](https://github.com/annatel/captain_hook) use `CaptainHookSignature` to sign its requests.
## Installation
The package can be installed by adding `captain_hook_signature` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:captain_hook_signature, "~> 0.4.0"}
]
end
```
The docs can be found at [https://hexdocs.pm/captain_hook_signature](https://hexdocs.pm/captain_hook_signature).