packages feed

crypton-2.3.1 / Crypto / Cipher / Salsa / State.hs

{-# LANGUAGE GeneralizedNewtypeDeriving #-}-- |-- Module      : Crypto.Cipher.Salsa.State-- License     : BSD-style-- Stability   : stable-- Portability : good---- The Salsa context, shared by Salsa and XSalsa.  The constructor stays in-- this hidden module: C trusts the size and the offsets inside the bytes.module Crypto.Cipher.Salsa.State (State (..)) whereimport Crypto.Internal.ByteArray (ScrubbedBytes)import Crypto.Internal.Imports-- | Salsa contextnewtype State = State ScrubbedBytes    deriving (NFData)