raaz-0.2.0: Raaz/Hash/Sha256/Recommendation.hs
-- | This sets up the recommended implementation of Sha256.
{-# OPTIONS_GHC -fno-warn-orphans #-}
--
-- The orphan instance declaration separates the implementation and
-- setting the recommended instances. Therefore, we ignore the warning.
--
module Raaz.Hash.Sha256.Recommendation where
import Raaz.Core
import Raaz.Hash.Sha256.Internal
import qualified Raaz.Hash.Sha256.Implementation.CPortable as CPortable
-- | Recommended implementation for SHA256.
instance Recommendation SHA256 where
recommended _ = CPortable.implementation