From 7684a6d7ac9a25227c2d4074cb8b5735310cf0e4 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 25 Oct 2017 23:17:26 +0200 Subject: [PATCH] Formatting --- filepath-crypto/src/System/FilePath/Cryptographic.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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