Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
pdu :: AsnEncoding Pdu Source #
pdus :: AsnEncoding Pdus Source #
defaultPdu :: Pdu Source #
defaultUsm :: Usm Source #
usm :: AsnEncoding Usm Source #
hmacEncodedMessage :: AuthType -> ByteString -> ByteString -> ByteString Source #
hash :: AuthType -> ByteString -> ByteString Source #
hashlazy :: AuthType -> ByteString -> ByteString Source #
passwordToKey :: AuthType -> ByteString -> EngineId -> ByteString Source #
type Encrypted = ByteString Source #
type Raw = ByteString Source #
desEncrypt :: ByteString -> Int32 -> Int32 -> ByteString -> (Encrypted, ByteString) Source #
desDecrypt :: ByteString -> ByteString -> Encrypted -> Maybe Raw Source #
aesDecrypt :: ByteString -> ByteString -> Int32 -> Int32 -> Encrypted -> Maybe Raw Source #
stripBS :: ByteString -> ByteString Source #
aesEncrypt :: ByteString -> Int32 -> Int32 -> AesSalt -> Raw -> (Encrypted, ByteString) Source #
wToBs :: Word64 -> ByteString Source #
mkCipher :: Cipher c => ByteString -> c Source #
mkSign :: AuthType -> ByteString -> ByteString -> ByteString Source #
checkSign :: AuthType -> ByteString -> MessageV3 -> Maybe (ByteString, ByteString) Source #
resetAuthParams :: MessageV3 -> MessageV3 Source #