buddy.sign.compact
(source)Compact high level message signing implementation.
It has high influence by django's cryptographic library
and json web signature/encryption but with focus on have
a compact representation. It's build on top of fantastic
ptaoussanis/nippy serialization library.
This singing implementation is not very efficient with
small messages, but is very space efficient with big
messages.
The purpose of this implementation is for secure message
transfer, it is not really good candidate for auth token
because of not good space efficiency for small messages.
For more info about this library see:
https://funcool.github.io/buddy-sign/latest/Public Variable | Short Description |
---|---|
*signers-map* (clj) | List of supported signing algorithms. |
sign (clj) | Sign arbitrary length string/byte array using compact sigining method. |
unsign (clj) | Given a signed message, verify it and return the decoded data. |