Setting an invalid digest will now throw an exception instead of failing silently
changed some naming + comment fix
Merge pull request #2 from SpacefulSpecies/fix-digest-failing-silently

Setting invalid encryption now throws exception instead of failing silently