Feature/#42 add digest method

This pull-req is related to #42 issues.

I've added few test code to test `digest()` method with binary data.
I only checked 'MD5' and 'SHA-256' but if there is something omitted, please let me know. :)