crypto.rs icon indicating copy to clipboard operation
crypto.rs copied to clipboard

The canonical source of cryptographic ground-truth for IOTA projects that use Rust.

Results 27 crypto.rs issues
Sort by recently updated
recently updated
newest added

Updates the requirements on [chacha20poly1305](https://github.com/RustCrypto/AEADs) to permit the latest version. Commits 49e8a24 chacha20poly1305 v0.9.1 e13da9c chacha20poly1305 v0.9.0 (#367) 4683581 xsalsa20poly1305: bump salsa20 dependency to v0.9 (#366) cbd9cb9 chacha20poly1305: bump chacha20...

dependencies

Updates the requirements on [aead](https://github.com/RustCrypto/traits) to permit the latest version. Commits 05d54a2 aead v0.5.0 (#1058) c98363e build(deps): bump zeroize from 1.5.6 to 1.5.7 (#1057) 0904bed universal-hash v0.5.0-pre.1 (#1056) 53c4722 elliptic-curve:...

dependencies

Updates the requirements on block-modes to permit the latest version. Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger...

dependencies

## Description Secret/public key wrapper guidelines are needed: naming convention, interoperability traits, security concerns. ## Motivation Wrappers for asymmetric and secret keys are common (ed25519, x25519, slip10). Often they use...

enhancement

The changes in this PR are almost all cosmetics and for "rust"-ier feelings. Biggest change is the standard trait `From` implementation for the Seed which removes the formerly hard constraints...

# Description of change Added the conversion method `try_from_slice()` for the `ed25519::SecretKey` and `ed25519::PublicKey` types. The name of the method has been chosen following the apparent convention to call byte...

## Description Is there a particular case where the conversion would fail? Particularly, the current implementation implies there might be a case where decompressing the ed25519 public key as a...

# Description of change Derive some common traits for public types. Without the traits, these types are basically unusable by bee. ## Change checklist Add an `x` to the boxes...

https://github.com/iotaledger/crypto.rs/blob/752321d556ab7f391d7f3afb98b71adeef6d23b3/src/keys/bip39.rs#L16 accepts any `str` and https://github.com/iotaledger/crypto.rs/blob/752321d556ab7f391d7f3afb98b71adeef6d23b3/src/keys/bip39.rs#L195 also accepts mnemonics with a space added. Should the verify function return an error if there is a space added or should the mnemonic_to_seed...