encryption stuff

This commit is contained in:
Ashley 2022-08-06 22:22:46 +03:00 committed by GitHub
parent ff1aa34517
commit e11eb69edc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
<% if (!isMobile) { %> <% if (!isMobile) { %>
<!-- <!--
This Source Code Form is subject to the terms of the GNU General Public License: This Source Code Form is subject to the terms of the GNU General Public License:
@ -287,20 +288,32 @@ margin-right: 100px;
<div> <div>
<br> <br>
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;"> <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> <p>
<div class="video-title" style="font-family:'Ginto Nord';font-weight:900;white-space:yes;">Encryption Information!</div> <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> <div>
Title: <span style="font-family:'Monospace'"> <%=sha384(video.Title)%></span><br> <a href="/encryption?v=<%=video.id%>">Click here for encryption info</a><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>
</div> </div>
<a href="https://en.wikipedia.org/wiki/Encryption">WHAT THE HELL IS ENCRYPTION ?! (ME DUM)</a>
</p> </p>
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;"> <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>
<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> </div>