mozilla-services/android-sync — pull request #47 by ncalexan (2012-01-31 21:03:03+00:00)
Title: Nalexander/bug 722430 make hmac hasher null

...wrap in CryptoException higher up the call stack.

This one got pretty gnarly, but I think does what bsmith wants. It propagates NoSuchAlgorithmException and InvalidKeyException higher up the call stack and wraps in CryptoException where appropriate.