codeberg is different ig

This commit is contained in:
Dario48true 2025-02-14 09:25:03 +01:00
parent d801db3867
commit 6a8becba84
11 changed files with 7 additions and 15 deletions

View file

@ -0,0 +1,9 @@
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 4.96005C0 2.25074 2.67873 2.25027 5.20095 2.2503C9.05595 2.26134 12.9109 2.23923 16.7659 2.25764C17.5707 2.2245 18.2827 2.74729 18.8193 3.36948C19.9756 4.7235 21.1737 6.18761 22.3648 7.54106C22.6549 7.87069 23.074 8.05646 23.5131 8.05646C30.4325 8.05646 37.1796 8.05646 44.0258 8.05646C46.8386 8.05646 48 9.99195 48 12.702C48 21.6638 48 30.702 47.9993 39.6049C48 41.3471 47.9993 40.4602 47.9993 41.7341C47.9993 45.6056 45.2903 45.6052 44.0981 45.6052C42.9056 45.6052 16.2581 45.5861 2.54155 45.5865C1.35485 45.5861 3.87623e-06 44.6374 3.87623e-06 43.2825C3.87623e-06 37.4762 1.05142e-08 30.8955 7.75245e-06 25.0891C3.88147e-06 23.9278 3.87623e-06 22.1859 3.87623e-06 20.831C3.87623e-06 18.5085 1.90453 18.1213 3.06583 18.1213C12.3562 18.1213 24.7123 18.1402 34.0336 18.1213C35.2741 18.1188 36.0084 19.0887 36.0084 20.25C36.0084 21.4113 35.2342 22.3702 34.0073 22.3702C24.5222 22.3923 15.4209 22.3518 5.93576 22.3886C4.34944 22.3886 4.22715 23.6173 4.22715 24.702C4.22715 29.6099 4.22715 34.8353 4.23863 39.8029C4.24061 40.6567 4.93313 41.3471 5.78655 41.3471C18.4209 41.3471 30.7006 41.3471 43.1456 41.3471C43.7111 41.3471 44.109 40.9601 44.1135 40.1854C44.1653 31.3353 44.1195 22.6292 44.1139 13.863C44.1135 13.0078 43.4201 12.3145 42.5651 12.3146C35.7264 12.3149 28.8877 12.3148 22.049 12.3145C21.1184 12.355 20.3824 11.5095 19.7996 10.7916C18.8 9.56224 17.7305 8.30662 16.7081 7.07269C16.4125 6.71595 15.9741 6.50775 15.5108 6.50741C12.1364 6.50494 8.65234 6.50805 5.40386 6.50805C5.01679 6.50805 4.25805 6.50805 4.25805 7.26409C4.25805 8.8125 4.25805 9.18142 4.25805 11.1351C4.25805 13.8629 0 13.8629 0 11.1536C0 9.23629 0 6.89554 0 4.96005Z" fill="url(#paint0_linear_451_927)"/>
<defs>
<linearGradient id="paint0_linear_451_927" x1="-4.01979e-07" y1="45.6052" x2="55.9035" y2="18.6289" gradientUnits="userSpaceOnUse">
<stop stop-color="#0357D1"/>
<stop offset="1" stop-color="#27CDFC"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<!--This file was converted to xhtml by LibreOffice - see https://cgit.freedesktop.org/libreoffice/core/tree/filter/source/xslt for the code.-->
<head profile="http://dublincore.org/documents/dcmi-terms/">
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/>
<title xml:lang="en-US">- no title specified</title>
<meta name="DCTERMS.title" content="" xml:lang="en-US"/>
<meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/>
<meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/>
<meta name="DCTERMS.issued" content="2025-02-13T17:40:44.366553222" scheme="DCTERMS.W3CDTF"/>
<meta name="DCTERMS.modified" content="2025-02-13T17:45:34.614244826" scheme="DCTERMS.W3CDTF"/>
<meta name="xsl:vendor" content="libxslt"/>
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/>
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" hreflang="en"/>
<link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/>
<link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/>
<style>
table { border-collapse:collapse; border-spacing:0; empty-cells:show }
td, th { vertical-align:top; font-size:12pt;}
h1, h2, h3, h4, h5, h6 { clear:both;}
ol, ul { margin:0; padding:0;}
li { list-style: none; margin:0; padding:0;}
span.footnodeNumber { padding-right:1em; }
span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; }
span.heading_numbering { margin-right: 0.8rem; }* { margin:0;}
.paragraph-P1{ font-size:28pt; font-weight:bold; margin-bottom:0.212cm; margin-top:0.423cm; text-align:center ! important; font-family:'Liberation Sans'; writing-mode:horizontal-tb; direction:ltr;line-height:115%; }
.paragraph-P2{ font-size:13pt; font-family:'Liberation Serif'; writing-mode:horizontal-tb; direction:ltr;}
.paragraph-P3{ font-size:13pt; font-family:'Liberation Serif'; writing-mode:horizontal-tb; direction:ltr;}
.paragraph-P4{ font-size:13pt; line-height:115%; margin-bottom:0.247cm; margin-top:0cm; font-family:'Liberation Serif'; writing-mode:horizontal-tb; direction:ltr;font-weight:normal; }
.text-T1{ font-weight:normal; }
.text-T2{ font-weight:normal; }
/* ODF styles with no properties representable as CSS:
{ } */
</style>
</head>
<body dir="ltr" style="max-width:21.001cm;margin-top:2cm; margin-bottom:2cm; margin-left:2cm; margin-right:2cm; ">
<p class="paragraph-P1">RSA</p>
<p class="paragraph-P2">Si scelgono a caso due numeri primi p e q </p>
<p class="paragraph-P2">p. es.</p>
<p class="paragraph-P3">- p = 13</p>
<p class="paragraph-P2">- q = 7</p>
<p class="paragraph-P2"><span class="text-T1"/></p>
<br />
<p class="paragraph-P2"><span class="text-T1">Si calcola il loro prodotto n = pq, chiamato modulo, e il prodotto φ(n) = (p 1)(q 1) (φ(x) è il numero degli interi coprimi a x)</span></p>
<p class="paragraph-P2"><span class="text-T1">p. es</span></p>
<p class="paragraph-P2"><span class="text-T1">- n = 91</span></p>
<p class="paragraph-P2"><span class="text-T1">- φ(n) = 72</span></p>
<p class="paragraph-P2"><span class="text-T1"/></p>
<br />
<p class="paragraph-P2"><span class="text-T1">Si sceglie un numero coprimo a φ(n) </span><span class="text-T2">e</span><span class="text-T1"> più piccolo di esso</span></p>
<p class="paragraph-P2"><span class="text-T1">p. es</span></p>
<p class="paragraph-P2"><span class="text-T1">- e = 7</span></p>
<p class="paragraph-P2"><span class="text-T1"/></p>
<br />
<p class="paragraph-P2"><span class="text-T1">Si calcola il numero d in modo che de % φ(n) = 1</span></p>
<p class="paragraph-P2"><span class="text-T1">p. es</span></p>
<p class="paragraph-P2"><span class="text-T1">- d = 31</span></p>
<p class="paragraph-P2"><span class="text-T1"/></p>
<br />
<p class="paragraph-P2"><span class="text-T1">La chiave pubblica è (n, e) e la chiave privata è (n, d) </span></p>
<p class="paragraph-P2"><span class="text-T1">p. es. </span></p>
<p class="paragraph-P2"><span class="text-T1">- pub = (91, 7)</span></p>
<p class="paragraph-P2"><span class="text-T1">- priv = (91, 31)</span></p>
<p class="paragraph-P2"><span class="text-T1"/></p>
<br />
<p class="paragraph-P2"><span class="text-T1">La forza dell'algoritmo sta nel fatto che per calcolare d da e (o viceversa) non basta la conoscenza di n ma serve il numero φ ( n ) = ( p 1 ) ( q 1 ) , e che il suo calcolo richiede tempi molto elevati; infatti fattorizzare in numeri primi (cioè scomporre un numero nei suoi divisori primi) è un'operazione computazionalmente costosa.</span></p>
<p class="paragraph-P4"> </p></body>
</html>

112
home/index.html Normal file
View file

@ -0,0 +1,112 @@
<!doctype html>
<html>
<head>
<title>/</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #161925;
}
::selection{
background-color: #00D3A7;
color: #fefefe;
}
html,
body {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.stretch {
width: calc(50vw - 4px);
color: #C3C7D1;
margin-top: 0;
}
.column {
flex-direction: column;
}
.row {
display: flex;
justify-content: space-between;
flex-direction: row;
}
.border {
display: flex;
justify-content: center;
align-items: center;
width: 50vw; /* 50% of the viewport's width */
height: 50vh; /* 50% of the viewport's height */
border: 2px solid white;
flex-direction: row; /* Stack children horizontaly */
justify-content: center; /* Align children to the top */
align-items: flex-start;
}
button {
background-color: #c6262e;
color=black;
border: 1px solid white;
cursor: pointer;
margin-left: auto;
}
button:hover {
background-color: #ed5353;
}
a {
text-decoration: none;
color: #C3C7D1;
}
img {
width: max(min(90%, 100px), 50px);
aspect-ratio: 1/1;
}
.folder {
width: 25%;
}
</style>
</head>
<body id="body">
<div class="border">
<div class="column">
<div class="stretch row">
Dario48's website
<div style="aspect-ratio: 1 / 1">
<button
type="button"
onclick="document.getElementById('body').remove();"
>
X
</button>
</div>
</div>
<form>
<input type="text" value="/home/" class="stretch" />
</form>
<nav class="row">
<div class="column folder">
<a href="Dario48/">
<img
src="Dario48/Pictures/folder.svg"
style="
display: block;
margin-left: auto;
margin-right: auto;
"
/>
<p style="text-align: center">Dario48</p>
</a>
</div>
</nav>
</div>
</div>
</body>
</html>