Secure the identity of your user
Returns signature of a user identify.
@spec signature(user :: term(), secret :: String.t()) :: String.t()
First argument accepts a value that conforms to the TalkJS.UserIdentity protocol.
iex> TalkJS.IdentityVerification.signature(123, "YOUR_SECRET_KEY") "cca5c5faf36a62306e4d24a5b28ae7071aca7bccc3af512309320807d113bc8c"