Branca Test Tool
An online test tool for creating and decrypting Branca tokens. Useful for testing your own Branca implementation against or just seeing what the Branca format looks like. Implemented in .NET using ScottBrady.IdentityModel.
What are Branca Tokens?
Branca is a simple token that uses XChaCha20-Poly1305 for symmetric encryption. While Branca tokens have seen little to no adoption, using Branca is still a better idea than using JWTs signed with an HMAC. But you are better off using something standardized and widely supported, such as JWE.
To learn more about Branca and when to use it, check out my article on alternatives to JWTs.
Branca in .NET
To get started with Branca tokens in .NET, have a read of Replacing JWTs with Branca and PASETO in .NET Core or download the ScottBrady.IdentityModel library from nuget. This library is tested against v0.3.0 (the latest) Branca test vectors; however, note that only v3 of ScottBrady.IdentityModel supports Branca tokens due to Branca’s lack of industry usage.
Tool Information
This tool is for development/testing purposes only. Data is posted to a server; however, I am not actively logging anything. Please do not upload any sensitive or personal data.
If you prefer command line tools, check out this JavaScript implementation from Mika Tuupola, or this .NET implementation that I was playing around with.