Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Raaz.Cipher.ChaCha20
Description
The Chacha20 cipher.
Documentation
The type associated with the ChaCha20 cipher.
Instances
Cipher ChaCha20 Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
StreamCipher ChaCha20 Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
Primitive ChaCha20 Source # | |
Recommendation ChaCha20 Source # | |
Defined in Raaz.Cipher.ChaCha20.Recommendation Methods | |
Describable ChaCha20 Source # | |
type Implementation ChaCha20 Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
type Key ChaCha20 Source # | The key for ChaCha20. |
The key type.
Instances
IsString KEY Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal Methods fromString :: String -> KEY Source # | |
Storable KEY Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
Show KEY Source # | |
Encodable KEY Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal Methods toByteString :: KEY -> ByteString Source # fromByteString :: ByteString -> Maybe KEY Source # unsafeFromByteString :: ByteString -> KEY Source # | |
EndianStore KEY Source # | |
RandomStorable KEY Source # | |
Defined in Raaz.Random |
The IV for the chacha20
Instances
IsString IV Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal Methods fromString :: String -> IV Source # | |
Storable IV Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
Show IV Source # | |
Encodable IV Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal Methods toByteString :: IV -> ByteString Source # fromByteString :: ByteString -> Maybe IV Source # unsafeFromByteString :: ByteString -> IV Source # | |
EndianStore IV Source # | |
RandomStorable IV Source # | |
Defined in Raaz.Random |
The counter type for chacha20
Instances
Storable Counter Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal Methods sizeOf :: Counter -> Int Source # alignment :: Counter -> Int Source # peekElemOff :: Ptr Counter -> Int -> IO Counter Source # pokeElemOff :: Ptr Counter -> Int -> Counter -> IO () Source # peekByteOff :: Ptr b -> Int -> IO Counter Source # pokeByteOff :: Ptr b -> Int -> Counter -> IO () Source # | |
Num Counter Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
Show Counter Source # | |
Eq Counter Source # | |
Ord Counter Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
EndianStore Counter Source # | |