Skip to content

Latest commit

History

History
104 lines (64 loc) 路 3.71 KB

CHANGELOG.md

File metadata and controls

104 lines (64 loc) 路 3.71 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v0.7.0 - 2022-04-14

Added

  • SharedKey::new() and SharedKey::new_const() to generate a shared key from array (runtime / compile-time). #105
    • Thanks: @kurikomoe

Fixed

  • Codes in README didn't compile. #105
    • Thanks: @kurikomoe

v0.6.0 - 2021-06-22

Added

  • SerdeEncryptSharedKeyDeterministic for deterministic encryption. #95

v0.5.0 - 2021-06-19

Changed

  • SharedKey serializer - BincodeSerializer for std; PostcardSerilizer for no_std. #94

Fixed

  • Documentation about serializers. Although BincodeSerializer or PostcardSerializer show better performance, CborSerializer serializes more complex serde types. #94

v0.4.1 - 2021-06-19

Fixed

  • Dead links in documents. #90, #93

v0.4.0 - 2021-06-17

Added

  • New built-in serializers:

    • PostcardSerializer, which uses postcard crate for serialization.
    • BincodeSerializer for std feature, which uses bincode crate for serialization.
  • EncryptedMessage::len() function to return cipher-text's payload size.

v0.3.2 - 2021-06-16

Added

Changed

  • serde-encrypt crate is split into serde-encrypt-core (no dependencies to serde) and serde-encrypt (serde dependent layer). Users should depend only on serde-encrypt (structures from -core are re-exported).

  • SerdeEncryptPublicKey and SerdeEncryptSharedKey takes associated type S (serializer). Currently CborSerializer is available. Crate users can implement serializers by themselves if necessary.

  • Some structs/enums moved into differently named modules. Shows where into they are moved.

    • serde_encrypt::Error
    • serde_encrypt::ErrorKind
    • serde_encrypt::EncryptedMessages
    • serde_encrypt::SenderCombinedKey
    • serde_encrypt::ReceiverCombinedKey
    • serde_encrypt::AsSharedKey

v0.2.0 - 2021-06-14

Added

  • EncryptedMessage::nonce() getter method.
  • EncryptedMessage::encrypted() getter method.

v0.1.1 - 2021-06-14

Added

  • Initial release (0.1.0 yanked)