XML

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.

Branca is a simple token that uses XChaCha20-Poly1305 for symmetric encryption. I typically recommend the use of Branca or JWT over a JWT signed with an HMAC. To learn more about Branca and when to use it, check out my article on alternatives to JWTs.

To get started with Branca tokens in .NET Core and .NET, check out my announcement article or download the ScottBrady.IdentityModel library from nuget.

Tool Information

This tool is for development/testing purposes only. Data is posted to the server; however, I am not actively logging anything. Please do not upload 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.

Your 32-byte symmetric key

When your token was created (unsigned big endian 4 byte UNIX timestamp)

Required for decryption only

The contents of the token you want to create or the token you want to decrypt