Bug 981872 - Replace sha-1 MessageDigest with NativeCrypto.
Bug 981872 - Review comment: Catch only LinkageError.
Bug 981872 - Replace sha-1 MessageDigest with NativeCrypto. r=nalexander