Files
Camilou.fr/HTML/TN/Crypto/test15.html
T
Camilla Schoeser ec81bcd634 ajout tout
2026-05-29 21:10:04 +02:00

161 lines
5.7 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>MEMORY_DUMP_REWIND</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');
:root {
--paper: #e0e0e0;
--ink: #1a1a1a;
--accent: #ff3e00;
--cyan: #00f2ff;
}
body, html {
margin: 0; padding: 0;
background: #050505;
color: var(--paper);
font-family: 'Space Mono', monospace;
overflow: hidden; height: 100vh;
transition: background 0.5s ease;
}
#desk { position: relative; width: 100vw; height: 100vh; perspective: 1000px; }
.card {
position: absolute;
width: 450px; padding: 20px;
background: var(--ink);
border: 2px solid var(--paper);
box-shadow: 10px 10px 0px rgba(0, 242, 255, 0.1);
transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
display: none;
z-index: 10;
}
.card.active { display: block; animation: throw 0.5s ease-out forwards; }
/* Effet de mise en pause (pendant l'axolotl) */
.card.paused {
transform: scale(0.8) translateY(-100vh) !important;
opacity: 0;
}
@keyframes throw {
0% { transform: scale(1.5) translateY(-50px) rotate(20deg); opacity: 0; }
100% { transform: scale(1) translateY(0) rotate(var(--r)); opacity: 1; }
}
/* Slide Spéciale AXOLOTL */
#axo-layer {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
background: var(--paper); color: var(--ink);
display: none; flex-direction: column; justify-content: center; align-items: center;
z-index: 100; /* Passe au dessus de tout */
opacity: 0; transition: opacity 0.5s;
}
#axo-layer.show { display: flex; opacity: 1; }
h2 { background: var(--paper); color: var(--ink); padding: 0 5px; text-transform: uppercase; }
.tag { font-size: 0.7rem; color: var(--accent); font-weight: bold; border: 1px solid var(--accent); padding: 2px 5px; }
#ui { position: fixed; top: 20px; left: 20px; z-index: 150; font-size: 0.7rem; color: var(--cyan); }
</style>
</head>
<body>
<div id="ui">MODE: <span id="status">INIT_BUFFER</span></div>
<div id="desk">
<div class="card" id="c0" style="--r: -3deg; top: 10%; left: 10%;">
<h2>01_PROTOCOLES</h2>
<p>C.I.D.A : Confidentialité, Intégrité, Authentification, Dispo.</p>
</div>
<div class="card" id="c1" style="--r: 4deg; top: 15%; left: 55%;">
<h2>02_HISTOIRE</h2>
<p>1982: SMTP / 1992: SMS.<br>Zéro chiffrement natif : L'opérateur "Hop-by-Hop" voit tout.</p>
</div>
<div class="card" id="c2" style="--r: -5deg; top: 50%; left: 12%;">
<h2>03_PIONNIERS</h2>
<p>PGP (1991): No PFS.<br>OTR (2004): No Async.</p>
</div>
<div class="card" id="c3" style="--r: 2deg; top: 45%; left: 50%;">
<h2>04_SIGNAL_STD</h2>
<p>Double Ratchet + X3DH.<br>Le standard de l'industrie (WhatsApp, etc).</p>
</div>
<div class="card" id="c4" style="--r: -1deg; top: 20%; left: 30%;">
<div class="tag">THREAT_INTEL</div>
<h2 style="background:var(--accent); color:white;">VULNÉRABILITÉS</h2>
<p>> Quantique (Shor's Algorithm)<br>> Endpoints (Spywares / Pegasus)</p>
</div>
<div class="card" id="c5" style="--r: 6deg; top: 55%; left: 35%;">
<div class="tag">GOVERNANCE</div>
<h2>SOUVERAINETÉ</h2>
<p>Matrix vs Discord.<br>Décentralisation vs Centralisation.</p>
<p style="font-size: 0.7rem; opacity: 0.5;">EOF // QUESTIONS?</p>
</div>
</div>
<div id="axo-layer">
<div style="font-size: 8rem;">🦦</div>
<h1 style="font-size: 3rem; margin: 10px 0;">CORE_ANALYSIS</h1>
<div style="border: 2px solid var(--ink); padding: 10px; font-weight: bold;">
X3DH (Extended Triple Diffie-Hellman)
</div>
<p style="margin-top: 20px;">[ PHASE DÉMONSTRATION TABLEAU ]</p>
</div>
<script>
let step = 0;
const cards = document.querySelectorAll('.card');
const axo = document.getElementById('axo-layer');
const status = document.getElementById('status');
function handleNav() {
if (step < 4) {
// Empilement normal
cards[step].classList.add('active');
status.innerText = "STACKING_DATA_" + (step + 1);
step++;
}
else if (step === 4) {
// ENTREE DANS L'AXOLOTL
document.querySelectorAll('.card.active').forEach(c => c.classList.add('paused'));
axo.classList.add('show');
document.body.style.background = "#e0e0e0";
status.innerText = "CORE_IMMERSION_ACTIVE";
status.style.color = "#1a1a1a";
step++;
}
else if (step === 5) {
// SORTIE DE L'AXOLOTL (Retour au bureau)
axo.classList.remove('show');
document.querySelectorAll('.card.active').forEach(c => c.classList.remove('paused'));
document.body.style.background = "#050505";
status.innerText = "STACK_RESTORED";
status.style.color = "var(--cyan)";
step++;
}
else if (step > 5 && step < 8) {
// Suite de l'empilement
cards[step-2].classList.add('active');
status.innerText = "FINAL_ANALYSIS";
step++;
}
}
window.addEventListener('keydown', e => {
if (e.key === 'ArrowRight' || e.key === ' ') handleNav();
if (e.key === 'Escape') location.reload();
});
</script>
</body>
</html>