CaptainHookSignature (captain_hook_signature v0.3.0) View Source

CaptainHookSignature.

Link to this section Summary

Link to this section Functions

Link to this function

sign(payload, timestamp, secret)

View Source

Specs

sign(binary(), integer(), binary() | [binary()]) :: binary()
Link to this function

verify(header, payload, secret, opts \\ [])

View Source

Specs

verify(binary(), binary(), binary(), keyword()) :: :ok | {:error, binary()}