MINOR: sample: add the sha1 converter

This converter can be used to generate a SHA1 digest from binary type
sample. The result is a binary sample with length of 20 bytes.
2 files changed