A library to provide compression cum encryption