Safe Haskell | None |
---|---|
Language | Haskell2010 |
The Chacha20 cipher.
Documentation
The type associated with the ChaCha20 cipher.
Instances
Describable ChaCha20 Source # | |
Recommendation ChaCha20 Source # | |
Defined in Raaz.Cipher.ChaCha20.Recommendation | |
Primitive ChaCha20 Source # | |
StreamCipher ChaCha20 Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
Cipher ChaCha20 Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
type Key ChaCha20 Source # | The key for ChaCha20. |
type Implementation ChaCha20 Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal |
The key type.
Instances
Show KEY Source # | |
IsString KEY Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal fromString :: String -> KEY # | |
Storable KEY Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
EndianStore KEY Source # | |
Encodable KEY Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal toByteString :: KEY -> ByteString Source # fromByteString :: ByteString -> Maybe KEY Source # unsafeFromByteString :: ByteString -> KEY Source # | |
RandomStorable KEY Source # | |
Defined in Raaz.Random |
The IV for the chacha20
Instances
Show IV Source # | |
IsString IV Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal fromString :: String -> IV # | |
Storable IV Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
EndianStore IV Source # | |
Encodable IV Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal toByteString :: IV -> ByteString Source # fromByteString :: ByteString -> Maybe IV Source # unsafeFromByteString :: ByteString -> IV Source # | |
RandomStorable IV Source # | |
Defined in Raaz.Random |
The counter type for chacha20
Instances
Eq Counter Source # | |
Num Counter Source # | |
Ord Counter Source # | |
Defined in Raaz.Cipher.ChaCha20.Internal | |
Show Counter Source # | |
Storable Counter Source # | |
EndianStore Counter Source # | |