Implemented the signing and verification of results.