Testing Schemes Using Craco

** This page is still work in progress **

Once you have implemented a scheme, you will probably want to write tests for it. To speed up this process, Craco offers a number of generic test cases for classes that implement interfaces such as SignatureScheme or EncryptionScheme. These test cases already include a number of test methods, and you just have to provide parameters for them.

There are some differences between implementing your scheme as part of Craco versus using Craco as a dependency.

Supported Interfaces

Testing A Scheme Outside Of Craco

Testing a Scheme Inside Of Craco