DatadeftAuth.PowChallenge (datadeft_auth v0.6.1)

Copy Markdown

Proof-of-work challenge in the shipping browser client's wire shape: serialize it as JSON for the client verbatim. Every field is public data the client already sees; the HMAC tag binds the tuple so none of it can be altered.

Summary

Types

t()

@type t() :: %DatadeftAuth.PowChallenge{
  chg: String.t(),
  dif: pos_integer(),
  tag: String.t(),
  tim: String.t()
}