Libpar2 is a library for manipulating par2 files, extracted from par2cmdline Libpar2 is a library for creating and using PAR2 files to detect damage in data files and repair them if necessary. It can be used with any kind of file. Par files are especially popular on Usenet.