generalize SignatureCodec to support checksums and Digests

add Digest and checksums from Java API

add Fletcher16 checksum
Merge pull request #18 from searler/checksum

generalize SignatureCodec to support checksums and Digests