Crypto-4.2.5.1: Collects together existing Haskell cryptographic functions into a package

Copyright(c) Dominic Steinitz 2004
LicenseBSD-style (see the file ReadMe.tex)
Maintainerdominic.steinitz@blueyonder.co.uk
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Data.LargeWord

Description

Provides Word128, Word192 and Word256 and a way of producing other large words if required.

Documentation

data LargeKey a b Source #

Instances
AESKey Word256 Source # 
Instance details

Defined in Codec.Encryption.AES

AESKey Word192 Source # 
Instance details

Defined in Codec.Encryption.AES

AESKey Word128 Source # 
Instance details

Defined in Codec.Encryption.AES

(Ord a, Bits a, Bounded a, Integral a, LargeWord a, Bits b, Bounded b, Integral b, LargeWord b) => Bounded (LargeKey a b) Source # 
Instance details

Defined in Data.LargeWord

Enum (LargeKey a b) Source # 
Instance details

Defined in Data.LargeWord

Methods

succ :: LargeKey a b -> LargeKey a b Source #

pred :: LargeKey a b -> LargeKey a b Source #

toEnum :: Int -> LargeKey a b Source #

fromEnum :: LargeKey a b -> Int Source #

enumFrom :: LargeKey a b -> [LargeKey a b] Source #

enumFromThen :: LargeKey a b -> LargeKey a b -> [LargeKey a b] Source #

enumFromTo :: LargeKey a b -> LargeKey a b -> [LargeKey a b] Source #

enumFromThenTo :: LargeKey a b -> LargeKey a b -> LargeKey a b -> [LargeKey a b] Source #

(Eq a, Eq b) => Eq (LargeKey a b) Source # 
Instance details

Defined in Data.LargeWord

Methods

(==) :: LargeKey a b -> LargeKey a b -> Bool Source #

(/=) :: LargeKey a b -> LargeKey a b -> Bool Source #

(Ord a, Bits a, LargeWord a, Ord b, Bits b, LargeWord b) => Integral (LargeKey a b) Source # 
Instance details

Defined in Data.LargeWord

Methods

quot :: LargeKey a b -> LargeKey a b -> LargeKey a b Source #

rem :: LargeKey a b -> LargeKey a b -> LargeKey a b Source #

div :: LargeKey a b -> LargeKey a b -> LargeKey a b Source #

mod :: LargeKey a b -> LargeKey a b -> LargeKey a b Source #

quotRem :: LargeKey a b -> LargeKey a b -> (LargeKey a b, LargeKey a b) Source #

divMod :: LargeKey a b -> LargeKey a b -> (LargeKey a b, LargeKey a b) Source #

toInteger :: LargeKey a b -> Integer Source #

(Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => Num (LargeKey a b) Source # 
Instance details

Defined in Data.LargeWord

Methods

(+) :: LargeKey a b -> LargeKey a b -> LargeKey a b Source #

(-) :: LargeKey a b -> LargeKey a b -> LargeKey a b Source #

(*) :: LargeKey a b -> LargeKey a b -> LargeKey a b Source #

negate :: LargeKey a b -> LargeKey a b Source #

abs :: LargeKey a b -> LargeKey a b Source #

signum :: LargeKey a b -> LargeKey a b Source #

fromInteger :: Integer -> LargeKey a b Source #

(Ord a, Ord b) => Ord (LargeKey a b) Source # 
Instance details

Defined in Data.LargeWord

Methods

compare :: LargeKey a b -> LargeKey a b -> Ordering Source #

(<) :: LargeKey a b -> LargeKey a b -> Bool Source #

(<=) :: LargeKey a b -> LargeKey a b -> Bool Source #

(>) :: LargeKey a b -> LargeKey a b -> Bool Source #

(>=) :: LargeKey a b -> LargeKey a b -> Bool Source #

max :: LargeKey a b -> LargeKey a b -> LargeKey a b Source #

min :: LargeKey a b -> LargeKey a b -> LargeKey a b Source #

(Ord a, Bits a, LargeWord a, Ord b, Bits b, LargeWord b) => Real (LargeKey a b) Source # 
Instance details

Defined in Data.LargeWord

(Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => Show (LargeKey a b) Source # 
Instance details

Defined in Data.LargeWord

(Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => Bits (LargeKey a b) Source # 
Instance details

Defined in Data.LargeWord