Merge pull request #692 from Atheros1/master

ignore duplicate messages
support pyelliptic's updated HMAC algorithm