Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 889 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 889 Bytes

RCAT Java reference implementation

This serves as an example to implement Randomized Counter-Abuse Token protocol in Java. You can find more details in the RCAT explainer.

Prerequisites

Install Bazel

  1. Follow the steps to install Bazel.

Clone Github repository

You will need to clone the code locally in order to build or test it.

$ git clone https://github.com/youtube/rcat
$ cd rcat/java

Build

You can build the project using the following command:

rcat/java$ bazel build src/main/java/com/google/rcat:*

Note that this command does not produce a library or other artifact, it is only for ensuring the project compiles in your environment.

Test

You can run all tests with the following command:

rcat/java$ bazel test src/test/java/com/google/rcat:*