Add ideal-cipher Davies–Meyer PRF and single/multi-root context replacement
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 8/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- cryptography
Línea de trabajo
Start by reading the existing TypedSystem sampling and key-guessing laws the acceptance criteria require reuse of, plus src/Commons.lean for how modules are exported. Then read the src/Tests/ tree for the consumer-test and #print axioms pattern, since src/Tests/DaviesMeyer.lean must instantiate XOR on Bool, AddGroup, and both context-replacement theorems. Done means lake build --wfail, scripts/check-sources.sh, scripts/check-axioms.sh and Mathlib linters pass with zero warnings. This is proof engineering across three new files, not a first-timer task.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Background
Ideal-cipher compression-function proofs (Boneh–Shoup Theorem 8.5, Davies–Meyer PRF) and multi-user ideal-cipher constructions (#14, #237) need a reusable tweakable ideal-cipher model, a planting involution preserving the uniform cipher marginal, adaptive PRF security 2r / |State|, and generic single-root and multi-root context-replacement theorems sharing one public ideal cipher.
Proposed change
- Add
src/Commons/Schemes/Cipher/DaviesMeyer.lean: tweakable ideal-cipher interfaces and systems (CipherFamily,CipherQuery,cipherReply,CipherInterface,cipherSystem,idealCipher), planting involution (plant,exchange,exchangeEquiv,plant_uniform), adaptive2r / |State|PRF security (chainingCipherPRF_security,chainingCipherPRF_addGroup_security), and exact reply-presentation transport (cipherReplyPresentation_real,cipherReplyPresentation_ideal). - Add
src/Commons/Schemes/Cipher/Context.lean: single-root hidden-key replacement inside an arbitrary trace-local cipher-dependent context (RespectsCalls,transcript_ratio,security). - Add
src/Commons/Schemes/Cipher/MultiContext.lean:users-slot hybrid replacement sharing one ideal cipher with no distinct-key hypothesis (selected_respectsCalls,transcript_ratio,security). - Export the modules from
src/Commons.leanand add consumer tests +#print axiomschecks insrc/Tests/DaviesMeyer.lean.
Acceptance criteria
DaviesMeyer,CipherContext, andCipherMultiContextreuse theTypedSystemsampling and key-guessing laws directly without duplicating local copies.src/Tests/DaviesMeyer.leaninstantiates XOR onBool, finiteAddGroup, single-root context replacement, and multi-root context replacement, and audits axioms.lake build --wfail,scripts/check-sources.sh,scripts/check-axioms.sh, and Mathlib standard linters pass with 0 warnings.
Advances #14, #237.
- 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
-
Add uniform guessing, retained-sample reparametrization, and key-guessing ratio lawsPosiblemente ocupada @MarcIlunga la tomó hoy. Abiertoneeds-format
Dificultad 4/5 Más de una semana Aptitud para principiantes 20/100
trailofbits/constructive-cryptography#461 ·
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 72/100
lidofinance/validator-ejector#233 ·
Los mantenedores suelen responder en 1 día
-
area/Driver_-_cpp-rs-driver bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
scylladb/cpp-rs-driver#542 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
latchset/kryoptic#600 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
good first issue priority:high track:crypto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día