encryption stuff

This commit is contained in:
Ashley 2022-08-06 22:22:46 +03:00 committed by GitHub
parent 21a19f609e
commit 72ba85b45f

View file

@ -1,4 +1,5 @@
<% if (!isMobile) { %>
<!--
This Source Code Form is subject to the terms of the GNU General Public License:
@ -287,19 +288,31 @@ margin-right: 100px;
<div>
<br>
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;">
<p><i class="fas fa-shield-alt"></i> The Connection is secured with ECDSA with SHA-384 Signature Algorithm :3 <br>
<div class="video-title" style="font-family:'Ginto Nord';font-weight:900;white-space:yes;">Encryption Information!</div>
<p>
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;">
<div class="video-title" style="font-family:'Ginto Nord';font-weight:900;white-space:yes;">Encryption Information!</div><br>
<i class="fas fa-shield-alt"></i> The Connection is secured with ECDSA with SHA-384 Signature Algorithm :3 ( <a href="https://en.wikipedia.org/wiki/Encryption">WHAT THE HELL IS ENCRYPTION ?! (ME DUM)</a> ) <br><br>
<div>
Title: <span style="font-family:'Monospace'"> <%=sha384(video.Title)%></span><br>
ID: <span style="font-family:'Monospace'"> <%=sha384(video.id)%></span><br>
Chnl: <span style="font-family:'Monospace'"> <%=sha384(video.Channel.Name)%> </span>
Date: <span style="font-family:'Monospace'"> <%=sha384(btoa(Date.now()).toString())%> </span>
<br><br>
<a href="/encryption?v=<%=video.id%>">Click here for encryption info</a><br>
</div>
<a href="https://en.wikipedia.org/wiki/Encryption">WHAT THE HELL IS ENCRYPTION ?! (ME DUM)</a>
</p>
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;">
</div>
<div>
<div class="video-title" style="font-family:'Ginto Nord';font-weight:900;">
Comments
</div>
<p style="font-style: italic;font-family: Ubuntu;"> Comments are in development rigth now. You can see the comments on <a href="https://redirect.invidious.io/watch?v=<%=video.id%>?pw=4"> Invidious </a> for now. </p>
</div>
</div>