Digest support for Cocoa platform

Here is my little contribution (Digest support for Cocoa platform). 

I should also write some tests, but i ll do it a little bit later (should make me familiar with TestFramework and make Cooper dev vm up and running).