PASERK Type: local
August 7, 2021 ยท View on GitHub
This is a plaintext serialization of a symmetric key for PASETO local tokens.
No operations are necessary; just encode as raw bytes.
Format
k[version].local.[data]
Where [data] is the base64url-encoded raw bytes of the symmetric key.
ID Serialization
See lid.
Examples
k1.local.cHFyc3R1dnd4eXp7fH1-f4CBgoOEhYaHiImKi4yNjo8
k2.local.cHFyc3R1dnd4eXp7fH1-f4CBgoOEhYaHiImKi4yNjo8
k3.local.cHFyc3R1dnd4eXp7fH1-f4CBgoOEhYaHiImKi4yNjo8
k4.local.cHFyc3R1dnd4eXp7fH1-f4CBgoOEhYaHiImKi4yNjo8