Fixed issue #34

Clue of this commit is here: http://stackoverflow.com/questions/24099520/commonhmac-in-swift