Present the algorithms of a MAC as a memoryless system
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 56/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- backend-api-design
Línea de trabajo
Start with src/Commons/Definitions/MAC.lean and inspect the existing MAC.system interface, then read the definitions under src/Commons/Definitions/MAC/ for related reply laws and memoryless-system proofs. Add the proposed algorithms interface, system, reply law, and equality theorem; done means the stated bit-MAC acceptance behavior and theorem are covered.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Background
MAC.system holds one key and answers tag(m) and verify(m, t) under it. A construction that derives its MAC keys itself needs the two algorithms with the key as an argument:
\mathrm{tag}(k,m)\ \mapsto\ \tau\leftarrow\mathrm{mac.tag}\ k\ m,\qquad
\mathrm{verify}(k,m,\tau)\ \mapsto\ \mathrm{mac.verify}\ k\ m\ \tau .
This system keeps no state: each reply is drawn from the algorithm's law at the query. So it is the memoryless system of that reply law, and a router or a program over it has a closed form.
Proposed change
In src/Commons/Definitions/MAC.lean, add the interface MACAlgorithms K M T with the ports tag(key, message) and verify(key, message, tag), and the system MAC.algorithms mac on it. In src/Commons/Definitions/MAC/, add MAC.algorithms.replyLaw and
theorem MAC.algorithms.eq_ofMemoryless (mac : MAC K M T) (q : ℕ) :
MAC.algorithms (budget := q) mac =
TypedSystem.ofMemoryless (MACAlgorithms K M T q) (MAC.algorithms.replyLaw mac)
Acceptance criteria
Take the MAC on bits that tags every message with a fresh fair bit and accepts a tag equal to the key. Its algorithms answer tag(k, m) by a fair bit whatever $k$ and $m$, so two tags of one message are independent draws, and verify(k, m, t) by the point law of t == k.
- Lenguaje dominante
- Lean
- Estrellas
- 3
- Forks
- 0
- Merge medio
- 1 d 7 h
- PR fusionados (30 d)
- 123
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de trailofbits/constructive-cryptography
-
Automate monoidal whiskering and unitor normalization in cc_normalizePosiblemente ocupada @MarcIlunga la tomó hoy. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
trailofbits/constructive-cryptography#480 ·
Los mantenedores suelen responder en 1 día
-
Add MR16 Lemma 5, indifferentiability composition, and specificationPosiblemente ocupada @MarcIlunga la tomó hoy. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
trailofbits/constructive-cryptography#473 ·
Los mantenedores suelen responder en 1 día
-
needs-format
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
trailofbits/constructive-cryptography#471 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
trailofbits/constructive-cryptography#465 ·
Los mantenedores suelen responder en 1 día
-
needs-format
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
trailofbits/constructive-cryptography#462 ·
Los mantenedores suelen responder en 1 día
Todos los issues de trailofbits/constructive-cryptography
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
marketcalls/openalgo#2502 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
[Security]Unauthenticated WebSocket JSON.parse Without Error Handling Leads to Process TerminationAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
nocobase/nocobase#11711 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
qdrant/qdrant#11723 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
vllm-project/vllm#69791 ·
Los mantenedores suelen responder en 1 día