Skip to content

Latest commit

 

History

History
252 lines (179 loc) · 10.8 KB

CHANGELOG.md

File metadata and controls

252 lines (179 loc) · 10.8 KB

Changelog

[0.11.0]

  • Add AES-CBC algorithms (Aes128CbcHmac256, Aes192CbcHmac384, Aes256CbcHmac512).

[0.10.0]

[0.9.2]

  • Bump version of bee-ternary to v0.6.0

[0.9.1]

  • Make iota-crypto no_std.
    • 6b7b524 Make curl_p module no_std (#118) on 2021-11-19

[0.9.0]

  • Replace Curl implementation with an unrolled version for better performance. Add a batched version of Curl.
    • 18ab209 Add unrolled curl and batched curl (#116) on 2021-11-19

[0.8.0]

  • Support for the Blake2b hashing function to 160 bits

  • Wrapper around VarBlake2b for 160 bits hash

  • New tests for 160 bits copied from blake2b-256

  • Generate new test vector created with b2sum using the inputs of blake2b-256 test vector

  • Update list of supported algorithms

  • dd055a4 Add Blake2b-160 (#111) on 2021-10-27

  • Update bee-ternary requirement from 0.4.2-alpha to 0.5.0

    • 5f3c9d2 Add .changes file for bee-ternary bump (#115) on 2021-11-11

[0.7.0]

    • Enabled to access the Segment vector in Chain.
  • Added consistent line breaks between methods.
  • 50c0f53 Add .change file for Chain access on 2021-07-02
    • Unified naming convention in ed25519 and x25519 modules.
  • Added useful methods and standard traits implementations.
  • Added conversion of ed25519 keys to x25519 keys.
  • b52caec added changes on 2021-07-28

[0.6.0]

  • Added js feature to getrandom for wasm compatibility.

    • 0a85dfd add change file on 2021-07-01
  • Added

  • Segment field access;

    • Enable hardened field read access;
    • Enable bs field read access;
  • bip39.rs clippy error fix;

  • 41e776e Add .changes file for Segment field access on 2021-07-01

[0.5.1]

  • This release updates a number of interlocking dependencies, but does not change the external interface.
    • a644f8d add .changefile on 2021-05-04

[0.5.0]

  • Added

  • Sponge trait;

  • Kerl sponge implementation;

  • f96b845 Add .change on 2021-04-16

  • 12df494 Update .changes/kerl.md on 2021-04-16

  • Added

  • WOTS implementation;

    • keys module;
    • signatures module;
  • eec08c3 Add wots .changes on 2021-04-18

[0.4.2]

  • Automated publishing

[0.4.1]

  • Patch to fix publish workflow.
    • f161741 fix(covector) on 2021-03-18

[0.4.0]

  • Add a Aead trait and expose a common API through the Aes256Gcm and XChaCha20Poly1305 types.

To migrate from the previous AES-GCM/ChaCha implementations:

AES_256_GCM::encrypt(&key, &iv, &associated_data, &plaintext, &mut ciphertext, &mut tag)?;
// |
// v
Aes256Gcm::encrypt(&key, &iv, &associated_data, &plaintext, &mut ciphertext, &mut tag)?;
AES_256_GCM::decrypt(&key, &iv, &associated_data, &tag, &ciphertext, &mut plaintext)?;
// |
// v
Aes256Gcm::decrypt(&key, &nonce, &associated_data, &tag, &ciphertext, &mut plaintext)?;
xchacha20poly1305::encrypt(&mut ciphertext, &tag, &plaintext, &key, &nonce, &associated_data)?;
// |
// v
XChaCha20Poly1305::encrypt(&key, &nonce, &associated_data, &plaintext, &mut ciphertext, &mut tag)?;
xchacha20poly1305::decrypt(&mut plaintext, &ciphertext, &key, &tag, &nonce, &associated_data)?;
// |
// v
XChaCha20Poly1305::decrypt(&key, &nonce, &associated_data, &tag, &ciphertext, &mut plaintext)?;
- [104171d](https://www.github.com/iotaledger/crypto.rs/commit/104171d80555e3e62805ec59dd9e6290bcf71334) Add changelog message on 2021-03-04
- [9690eae](https://www.github.com/iotaledger/crypto.rs/commit/9690eaedbb716649879a7f31dd60cc792ef5e2eb) Add migration note on 2021-03-04
  • Add AES Key Wrap algorithm.

    • 523544f Add changelog on 2021-01-09
  • Add ed25519 PublicKey Eq, Ord and AsRef traits.

    • 4af8cab Implemented Eq, Ord and AsRef traits for ed25519 PublicKey on 2021-03-02
    • eec3caf Format and .changes typo fix. on 2021-03-02
  • Add ed25519 test suite.

    • 56f1c11 Added .changes file on 2021-02-18
  • Add HMAC-SHA384 message authentication algorithm.

    • a1d3926 Add changelog message on 2020-12-18
  • Add PBKDF2-HMAC-SHA256/PBKDF2-HMAC-SHA384 key derivation.

    • 8d6903b Add changelog message on 2021-01-11
  • Add SHA384 hash function.

    • aa1734e Add changelog message on 2020-12-18
  • Add explicit Slip10 support for Ed25519 curve.

    • ac79610 Added slip10 supported curves on 2021-02-25
    • 7f9544d Update .changes/add-slip10-curves.md on 2021-02-26
  • Add Slip10/Bip32 key derivation.

    • ef04de1 add .changes. on 2021-02-19
  • Add a std feature to implement std::Error::Error for crypto::Error.

    • 370f07e Add changelog message on 2021-03-09
  • Revision of verify scope to be ed25519::PublicKey::verify

    • f8c95fe chore(changefile) on 2021-03-03
  • Cleanup repo and revise layout of features into individual folders.

    • 03acaa5 chore(changes): add changefile on 2021-03-03
  • Normalization of the parameters for the encryption and decryption functions.

  • Parameter lists are as follows:

encrypt(
    key,
    nonce,
    associated_data,
    plaintext,
    ciphertext,
    tag
);

decrypt(
    key,
    nonce,
    associated_data,
    plaintext,
    ciphertext,
    tag
);

try_encrypt(
    key,
    nonce,
    associated_data,
    plaintext,
    ciphertext,
    tag
);

try_decrypt(
    key,
    nonce,
    associated_data,
    plaintext,
    ciphertext,
    tag
);

Changed the BufferSize error to include a name in the error message.

/// Produces an error message containing the following: 
/// $name buffer needs $needs bytes, but it only has $has

Error::BufferSize(
    name,
    needs,
    has
);
- [ef8e5b9](https://www.github.com/iotaledger/crypto.rs/commit/ef8e5b9ad65f315cea3473979b80590bb439aaea) add .changes md. on 2021-03-13
- [bca7a4d](https://www.github.com/iotaledger/crypto.rs/commit/bca7a4da2ffbf7e9422b74285fb605b748f06274) update .changes. on 2021-03-15
  • Add the Digest trait and Output type to support streaming messages. Replace blake2b::hash with hashes::blake2b::Blake2b256 (256-bit fixed-output).
    • b1ca2d8 Add changelog message on 2021-02-17
    • f19de8d chore(cleanup) on 2021-03-03
  • Add X25519 Diffie-Hellman key exchange and public key derivation using the Curve25519 curve.
    • a72b647 Add changelog message and document the Option<_> usage in the X25519 function on 2021-01-12
    • 7c7d47e Update .changes/x25519.md on 2021-02-05

[0.2.0]

  • Add BIP39 wordlist codec.
    • ca2a5a5 add changlog on 2020-12-21
  • Introduce release manager for rust crates and npm packages including tangle registry.
  • Add HMAC-SHA256 and HMAC-SHA512 message authentication algorithms.
    • c6d8976 Add changelog message on 2020-11-30
  • Add SHA256 and SHA512 hash functions.
    • 5292638 Add changelog message on 2020-11-30