add digest support
Merge pull request #1 from NixM0nk3y/master

add digest support