Getting Started

Requirements

Bruce requires Java 21. That's it. That's the whole requirement.

You also need to understand basic cryptography concepts. If you need a refresher, I suggest Cryptography Engineeringarrow-up-right and Applied Cryptographyarrow-up-right, both by Bruce Schneierarrow-up-right.

Setup

Bruce 2.1.0 is available on Maven Centralarrow-up-right.

Maven

Add the following dependency to your pom.xml:

<dependency>
    <groupId>com.mirkocaserta.bruce</groupId>
    <artifactId>bruce</artifactId>
    <version>2.1.0</version>
</dependency>

Gradle (Kotlin DSL)

Add the following to your build.gradle.kts:

implementation("com.mirkocaserta.bruce:bruce:2.1.0")

Gradle (Groovy DSL)

Add the following to your build.gradle:

Scala SBT

Apache Ivy

Last updated

Was this helpful?