- Add AES-CBC algorithms (
Aes128CbcHmac256
,Aes192CbcHmac384
,Aes256CbcHmac512
).
- Bump version minor to fix iotaledger/bee#1360
- Replace Curl implementation with an unrolled version for better performance. Add a batched version of Curl.
-
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
-
Update bee-ternary requirement from 0.4.2-alpha to 0.5.0
-
- Enabled to access the
Segment
vector inChain
.
- Enabled to access the
- 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
-
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;
- Enable
-
bip39.rs
clippy error fix; -
41e776e Add .changes file for Segment field access on 2021-07-01
- This release updates a number of interlocking dependencies, but does not change the external interface.
- a644f8d add .changefile on 2021-05-04
-
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
- Automated publishing
- 30342ce .changes on 2021-03-18
- Patch to fix publish workflow.
- f161741 fix(covector) on 2021-03-18
- Add a
Aead
trait and expose a common API through theAes256Gcm
andXChaCha20Poly1305
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.
-
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.
-
Add Slip10/Bip32 key derivation.
- ef04de1 add .changes. on 2021-02-19
-
Add a
std
feature to implementstd::Error::Error
forcrypto::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 andOutput
type to support streaming messages. Replaceblake2b::hash
withhashes::blake2b::Blake2b256
(256-bit fixed-output). - Add X25519 Diffie-Hellman key exchange and public key derivation using the Curve25519 curve.
- 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