diff --git a/uuid-crypto/changes.md b/uuid-crypto/changes.md index 85329de..7aaf13a 100644 --- a/uuid-crypto/changes.md +++ b/uuid-crypto/changes.md @@ -1,3 +1,6 @@ +# 1.3.0.1 + - Fix documentation typo + # 1.3.0.0 - Fix decryption diff --git a/uuid-crypto/src/Data/UUID/Cryptographic.hs b/uuid-crypto/src/Data/UUID/Cryptographic.hs index f8d3e52..bad2a16 100644 --- a/uuid-crypto/src/Data/UUID/Cryptographic.hs +++ b/uuid-crypto/src/Data/UUID/Cryptographic.hs @@ -7,8 +7,8 @@ License: BSD3 Given a value of a serializable type (like 'Int') we perform serialization and compute a cryptographic hash of the associated namespace (carried as a phantom type of kind 'Symbol'). -The serialized payload is then encrypted using the a symmetric cipher in CBC -mode using the hashed namespace as an initialization vector (IV). +The serialized payload is then encrypted using a symmetric cipher in CBC mode +using the hashed namespace as an initialization vector (IV). Since the serialized payload is padded to the length of an UUID we can detect namespace mismatches by checking that all bytes expected to have been inserted diff --git a/uuid-crypto/uuid-crypto.cabal b/uuid-crypto/uuid-crypto.cabal index a0334d5..6af244f 100644 --- a/uuid-crypto/uuid-crypto.cabal +++ b/uuid-crypto/uuid-crypto.cabal @@ -1,5 +1,5 @@ name: uuid-crypto -version: 1.3.0.0 +version: 1.3.0.1 synopsis: Reversable and secure encoding of object ids as uuids license: BSD3 license-file: LICENSE