diff --git a/filepath-crypto/src/System/FilePath/Cryptographic.hs b/filepath-crypto/src/System/FilePath/Cryptographic.hs index 2b855c5..2c40e4a 100644 --- a/filepath-crypto/src/System/FilePath/Cryptographic.hs +++ b/filepath-crypto/src/System/FilePath/Cryptographic.hs @@ -9,7 +9,10 @@ compute a cryptographic hash of the associated namespace (carried as a phantom type of kind 'Symbol'). The serialized payload is encrypted using a symmetric cipher in CBC mode using the hashed namespace as an initialization vector (IV). -The ciphertext is then -encoded and padding stripped. + +The ciphertext is then +-encoded +and padding stripped. Rather than being indicated by the amount of padding, the length of the serialized plaintext is instead carried at the type level within