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

204 lines
7.6 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>SIGNAL_TERMINAL_V7</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=VT323&family=JetBrains+Mono:wght@300;700&display=swap');
:root {
--bg: #0d0e12;
--surface: #16171d;
--text: #e0e0e0;
--cyan: #00f2ff;
--alert: #ff3e00;
--font-pixel: 'VT323', monospace;
--font-code: 'JetBrains Mono', monospace;
}
body, html {
margin: 0; padding: 0; background: var(--bg);
color: var(--text); font-family: var(--font-code);
overflow: hidden; height: 100vh;
}
/* --- BACKGROUND FX --- */
#scanner-line {
position: fixed; top: 0; left: 0; width: 100%; height: 2px;
background: rgba(0, 242, 255, 0.1);
box-shadow: 0 0 10px var(--cyan);
z-index: 1000; pointer-events: none;
animation: scan 4s linear infinite;
}
@keyframes scan { from { top: -10%; } to { top: 110%; } }
#bg-logs {
position: fixed; bottom: 0; left: 0; width: 100%; height: 40px;
background: rgba(0,0,0,0.8); border-top: 1px solid #333;
font-family: var(--font-pixel); font-size: 1.2rem;
color: #555; display: flex; align-items: center;
white-space: nowrap; overflow: hidden; z-index: 2000;
}
/* --- CARDS & STACK --- */
#desk { position: relative; width: 100vw; height: 100vh; perspective: 1000px; padding: 50px; box-sizing: border-box; }
.card {
position: absolute; width: 500px; padding: 30px;
background: var(--surface); border: 1px solid #333;
box-shadow: 10px 10px 0px #000;
display: none; transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.card.active { display: block; animation: slide-in 0.4s ease-out forwards; }
.card.paused { transform: scale(0.9) translateY(-120vh) rotate(-10deg) !important; opacity: 0; }
@keyframes slide-in {
0% { transform: translateY(50px) rotate(5deg); opacity: 0; filter: blur(10px); }
100% { transform: translateY(0) rotate(var(--r)); opacity: 1; filter: blur(0); }
}
/* --- TYPO & UI --- */
h2 {
font-family: var(--font-pixel); font-size: 2.5rem; margin: 0 0 15px 0;
color: var(--cyan); text-transform: uppercase;
animation: jitter 3s infinite;
}
@keyframes jitter {
0%, 90%, 100% { transform: translate(0); }
91% { transform: translate(2px, -1px); }
94% { transform: translate(-2px, 1.5px); }
}
.tag { font-family: var(--font-pixel); font-size: 1rem; color: var(--alert); margin-bottom: 5px; }
.code-box {
background: #000; padding: 15px; border-left: 3px solid var(--cyan);
font-size: 0.85rem; color: #888; margin: 15px 0;
}
/* --- AXOLOTL LAYER --- */
#axo-layer {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
background: #eee; color: #111;
display: none; flex-direction: column; justify-content: center; align-items: center;
z-index: 500;
}
#axo-layer.show { display: flex; animation: glitch-flash 0.3s steps(2); }
@keyframes glitch-flash { 0% { opacity: 0; transform: skewX(20deg); } 100% { opacity: 1; transform: skewX(0); } }
#ui-header {
position: fixed; top: 20px; left: 20px; font-family: var(--font-pixel);
font-size: 1.5rem; color: #444; z-index: 3000;
}
</style>
</head>
<body>
<div id="scanner-line"></div>
<div id="ui-header">SYS_TRACE: <span id="progress">00</span></div>
<div id="bg-logs">
<div id="log-scroll"></div>
</div>
<div id="desk">
<div class="card" id="c0" style="--r: -2deg; top: 15%; left: 10%;">
<div class="tag">[ CORE_SECURITY ]</div>
<h2>01_PROTOCOLES</h2>
<p>Analyse C.I.D.A : Confidentialité, Intégrité, Authentification, Disponibilité.</p>
<div class="code-box">>> status: secure<br>>> encryption: enabled</div>
</div>
<div class="card" id="c1" style="--r: 2deg; top: 10%; left: 52%;">
<div class="tag">[ HISTORY_DUMP ]</div>
<h2>02_ERA_ZERO</h2>
<p>1982: SMTP (Email) / 1992: SMS.<br>Transit en clair. L'opérateur réseau a un accès complet aux logs (Hop-by-Hop).</p>
</div>
<div class="card" id="c2" style="--r: -3deg; top: 50%; left: 15%;">
<div class="tag">[ LEGACY_CRYPT ]</div>
<h2>03_PIONNIERS</h2>
<p>PGP (1991): Async / No PFS.<br>OTR (2004): PFS / No Async (Mobile Fail).</p>
</div>
<div class="card" id="c3" style="--r: 1deg; top: 45%; left: 55%;">
<div class="tag">[ CURRENT_STD ]</div>
<h2>04_SIGNAL</h2>
<p>X3DH + Double Ratchet.<br>Auto-guérison des clés. Résistance post-quantique PQXDH.</p>
</div>
<div class="card" id="c4" style="--r: -1deg; top: 20%; left: 30%;">
<div class="tag">[ THREAT_DETECT ]</div>
<h2 style="color:var(--alert)">05_LIMITES</h2>
<p>> Shor's Algorithm (Quantum)<br>> Pegasus (Endpoint compromise)<br>> MitM (Key Validation)</p>
</div>
<div class="card" id="c5" style="--r: 4deg; top: 55%; left: 35%;">
<div class="tag">[ GOVERNANCE ]</div>
<h2>06_SOUVERAIN</h2>
<p>Matrix (Fédéré/Tchap) vs Discord (Centralisé).<br>L'importance de la possession physique du serveur.</p>
</div>
</div>
<div id="axo-layer">
<div style="font-size: 10rem;">🦦</div>
<h2 style="color:#000; animation:none; border-bottom: 5px solid #000;">TECH_FOCUS: X3DH</h2>
<p style="font-family: var(--font-pixel); font-size: 1.5rem;">[ DÉMONSTRATION AU TABLEAU ]</p>
</div>
<script>
let step = 0;
const cards = document.querySelectorAll('.card');
const axo = document.getElementById('axo-layer');
const logScroll = document.getElementById('log-scroll');
// LOGS EN CONTINU
const logEntries = [
"CONNECTING TO TELECOM_NANCY_NODE...", "HANDSHAKE SUCCESSFUL", "INJECTING X3DH_PARAM...",
"RATCHET_KEY_ROTATION: OK", "ENCRYPTING DATA_PACKET_09", "BYPASSING FIREWALL...",
"ACCESSING_MEM_DUMP", "DECRYPTING_SIGNAL_FLUX", "ANOMALY_DETECTED", "RE-ROUTING..."
];
function updateLogs() {
let text = "";
for(let i=0; i<20; i++) {
text += " > " + logEntries[Math.floor(Math.random()*logEntries.length)] + " -- " + Math.random().toString(16).slice(2,8);
}
logScroll.innerText = text;
}
setInterval(updateLogs, 2000);
updateLogs();
function next() {
if (step < 4) {
cards[step].classList.add('active');
step++;
document.getElementById('progress').innerText = "0" + step;
}
else if (step === 4) {
document.querySelectorAll('.card.active').forEach(c => c.classList.add('paused'));
axo.classList.add('show');
step++;
}
else if (step === 5) {
axo.classList.remove('show');
document.querySelectorAll('.card.active').forEach(c => c.classList.remove('paused'));
step++;
}
else if (step > 5 && step < 8) {
cards[step-2].classList.add('active');
step++;
document.getElementById('progress').innerText = "0" + (step-2);
}
}
window.addEventListener('keydown', e => {
if (e.key === 'ArrowRight' || e.key === ' ') next();
if (e.key === 'Escape') location.reload();
});
</script>
</body>
</html>