Skip to content

lingfeishengtian/pc2lib2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pc2lib2: The PC² Assistant Tool

A simple tool with convienience functions for PC².

Getting Started

Due to the way PC^2 works, you must use legacy encryption methods. To do this, add this to your vm options:

-Djdk.crypto.KeyAgreement.legacyKDF=true

Without it, the library will always fail to load a contest.

Since the library simulates the running of a PC^2 server, the following line of code is recommended to forcibly close the server, but will also terminate the program. It is recommended you put this line at the end of your main method.

System.exit(0);

View the wiki for more documentation.