From 3e432c60d2c6b3fecd920e8053ba4e9a75965dbd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 7 Oct 2016 10:18:31 -0400 Subject: Removed dependency on crypto-random. Use raaz for random bytestring generation exclusively. It was already used in all important places, but chaffing was using crypto-random. Note that System.Random is used for delays during chaffing and by random-shuffle. --- HTTP/ProofOfWork.hs | 2 -- 1 file changed, 2 deletions(-) (limited to 'HTTP') diff --git a/HTTP/ProofOfWork.hs b/HTTP/ProofOfWork.hs index 39073b9..a94b19b 100644 --- a/HTTP/ProofOfWork.hs +++ b/HTTP/ProofOfWork.hs @@ -119,8 +119,6 @@ mkRandomSalt = do rs <- replicateM 16 (Raaz.random prg :: IO Word8) return $ RandomSalt $ T.pack $ concatMap show rs -instance Raaz.Random Word8 - class POWIdent p where getPOWIdent :: p -> B.ByteString -- cgit v1.2.3