Implemented signature and verification in util.Sig.java.