packages feed

crypton-2.3.1 / Crypto / Cipher / Types / Stream.hs

-- |-- Module      : Crypto.Cipher.Types.Stream-- License     : BSD-style-- Maintainer  : Vincent Hanquez <vincent@snarc.org>-- Stability   : Stable-- Portability : Excellent---- Stream cipher basic typesmodule Crypto.Cipher.Types.Stream (    StreamCipher (..),) whereimport Crypto.Cipher.Types.Baseimport Crypto.Internal.ByteArray (ByteArray)-- | Symmetric stream cipher classclass Cipher cipher => StreamCipher cipher where    -- | Combine using the stream cipher    streamCombine :: ByteArray ba => cipher -> ba -> (ba, cipher)