make the signature calculation functionality public