 | crypto-api-0.2.1: A generic interface for cryptographic operations | Contents | Index |
|
Data.LargeWord | Portability | portable | Stability | experimental | Maintainer | dominic.steinitz@blueyonder.co.uk |
|
|
|
Description |
Provides Word128, Word192 and Word256 and a way of producing other
large words if required.
|
|
|
Documentation |
|
class LargeWord a where |
| Methods | largeWordToInteger :: a -> Integer | | integerToLargeWord :: Integer -> a | | largeWordPlus :: a -> a -> a | | largeWordAnd :: a -> a -> a | | largeWordOr :: a -> a -> a | | largeWordShift :: a -> Int -> a | | largeWordXor :: a -> a -> a | | largeBitSize :: a -> Int |
| | Instances | |
|
|
data LargeKey a b |
Instances | (Ord a, Bits a, Bounded a, Integral a, LargeWord a, Bits b, Bounded b, Integral b, LargeWord b) => Bounded (LargeKey a b) | | Enum (LargeKey a b) | | (Eq a, Eq b) => Eq (LargeKey a b) | | (Ord a, Bits a, LargeWord a, Ord b, Bits b, LargeWord b) => Integral (LargeKey a b) | | (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => Num (LargeKey a b) | | (Ord a, Ord b) => Ord (LargeKey a b) | | (Ord a, Bits a, LargeWord a, Ord b, Bits b, LargeWord b) => Real (LargeKey a b) | | (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => Show (LargeKey a b) | | (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => Bits (LargeKey a b) | | (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => LargeWord (LargeKey a b) | |
|
|
|
type Word96 = LargeKey Word32 Word64 |
|
type Word128 = LargeKey Word64 Word64 |
|
type Word160 = LargeKey Word32 Word128 |
|
type Word192 = LargeKey Word64 Word128 |
|
type Word224 = LargeKey Word32 Word192 |
|
type Word256 = LargeKey Word64 Word192 |
|
Produced by Haddock version 2.7.2 |