RustCrypto / RustCrypto/traits

aead: generalization of AEADs based on stream ciphers

Open
#45 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

aead cipher
Dominant language
Rust
Stars
755
Forks
256
Avg merge
1h 27m
Merged PRs (30d)
2

Description

Continuing the discussion from https://github.com/RustCrypto/AEADs/pull/3#issuecomment-523557454

It'd be good to have traits for implementing AEADs based on stream ciphers. The aead crate presents an interface which is generic enough to incorporate the one AEAD mode based on a block cipher, but most useful AEADs are based on stream ciphers, so it'd be nice to have trait(s) with blanket impls for StatelessAead which support generic composition based on the stream-cipher traits.

I'm not sure what crate these belong in. Should the aead crate have a stream-cipher feature? Or should the stream-cipher crate have an aead feature?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the discussion in RustCrypto/AEADs pull request 3 and the existing aead crate interface. Compare the StatelessAead and stream-cipher traits to determine where the proposed generic composition belongs. Done means an agreed trait design and implementation location, with the supported AEAD composition covered by the project’s tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.