https://github.com/zichy/vicco
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javax.crypto.Cipher; | |
| import java.io.InputStream; | |
| import java.security.*; | |
| import java.util.Base64; | |
| import static java.nio.charset.StandardCharsets.UTF_8; | |
| public class RsaExample { | |
| public static KeyPair generateKeyPair() throws Exception { | |
| KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.math.BigInteger; | |
| import java.security.SecureRandom; | |
| import java.util.Arrays; | |
| import java.util.Random; | |
| import static java.math.BigInteger.ONE; | |
| public class RSA { | |
| public static void main(String[] args) { | |
| // https://simple.wikipedia.org/wiki/RSA_(algorithm) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| ini_set('display_errors', 1); | |
| ini_set('display_startup_errors', 1); | |
| error_reporting(E_ALL); | |
| ?> | |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| ini_set('display_errors', 1); | |
| ini_set('display_startup_errors', 1); | |
| error_reporting(E_ALL); | |
| /** | |
| * LICENSE: https://creativecommons.org/publicdomain/zero/1.0/ (THE CODE BELONGS TO THE INTERNET, DO WHATEVER YOU WANT WITH IT) | |
| * http://www.sitemaps.org/protocol.php | |
| * http://en.wikipedia.org/wiki/Sitemaps | |
| * http://en.wikipedia.org/wiki/Sitemap_index |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| YOU CAN SEE A LIVE PREVIEW HERE: | |
| https://morgue.cc/project/digital_rain/ | |
| https://www.rgbtohex.net/ | |
| https://www.youtube.com/watch?v=NuMf5J-BI_w | |
| https://matrix.fandom.com/wiki/Matrix_code | |
| --> | |
| <style type="text/css"> | |
| html, body { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // RECENT EDITS DONE VIA MOBILE - NOT FINISHED - AND FOR SURE WONT WORK | |
| if (isset($_GET["password"])) { | |
| die('<h1>Your Hash:</h1>'.secure($_GET["password"]).'<hr>'); | |
| } | |
| session_generate_id(); | |
| session_name("pseudo"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.File; | |
| import java.io.FileOutputStream; | |
| import java.security.KeyFactory; | |
| import java.security.KeyPair; | |
| import java.security.KeyPairGenerator; | |
| import java.security.NoSuchAlgorithmException; | |
| import java.security.PrivateKey; | |
| import java.security.PublicKey; | |
| import java.security.spec.PKCS8EncodedKeySpec; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package mygame; | |
| import com.jme3.math.FastMath; | |
| import com.jme3.math.Quaternion; | |
| import com.jme3.scene.Spatial; | |
| /** | |
| * Converts an object's yaw rotation value into a degree between 0 and 360. | |
| * This is meant to emulate a real-world compass. | |
| * |