Welcome

Java cryptography made easy

Bruce is an ergonomic, lightweight, pure Java wrapper around the Java Cryptography API (version 2.0).

Show Me the Code

Sure. Here are a few quick examples. Keystore and key helpers are static imports from com.mirkocaserta.bruce.Keystores; builder factories are static imports from com.mirkocaserta.bruce.Bruce.

Digital Signatures

Message Digest

Symmetric Encryption

Bruce tries to reduce boilerplate to a minimum, so you can focus on your code.

Last updated

Was this helpful?