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
| #include <unistd.h> | |
| #include <malloc.h> | |
| int main(){for(;;){fork();void *p=malloc(0x4000);}} |
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
| #ifndef SAM_BELLIVEAUS_LAZY_CAST_LIBRARY | |
| #define SAM_BELLIVEAUS_LAZY_CAST_LIBRARY 1 | |
| #include <cstdint> | |
| #include <type_traits> | |
| namespace lc { | |
| namespace type { | |
| template<typename T> |
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
| #include <SFML/Graphics.hpp> | |
| #include <utility> | |
| #include <random> | |
| #include <cmath> | |
| using FLOAT = double; | |
| // Used For Speed and fmod | |
| static constexpr FLOAT PI = 3.1415926535897932384626433832795; | |
| static constexpr FLOAT Speed = 2.0*PI/128.0; |
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
| #ifndef XOSHIRO_256_RNG_ALGORITHM | |
| #define XOSHIRO_256_RNG_ALGORITHM | |
| #include <random> | |
| #include <cstdint> | |
| #include <limits> | |
| namespace xoshiro256 | |
| { | |
| class xoshiro256 |
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 socket | |
| import tkinter as tk | |
| import time | |
| import _thread as thread | |
| from hashlib import blake2b | |
| # Server Constants | |
| STRING_ENCODING = 'utf-8' | |
| # Used so the encryption can keep track of messages |
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
| from numpy import uint32 | |
| from numpy import uint64 | |
| from numpy import geterr | |
| from numpy import seterr | |
| class sha256: | |
| STARTING_VALUES = [ | |
| uint32(0x6a09e667), | |
| uint32(0xbb67ae85), |
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
| from numpy import uint32 | |
| from numpy import uint64 | |
| from numpy import geterr | |
| from numpy import seterr | |
| class sha1: | |
| STARTING_VALUES = [ | |
| uint32(0x67452301), | |
| uint32(0xEFCDAB89), |
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 socket | |
| import tkinter as tk | |
| import time | |
| import _thread as thread | |
| from hashlib import blake2b | |
| # Server Constants | |
| STRING_ENCODING = 'utf-8' | |
| # Used so the encryption can keep track of messages |
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
| from numpy import uint32 | |
| from numpy import uint64 | |
| from numpy import seterr as set_numpy_err | |
| from numpy import geterr as get_numpy_err | |
| class ChaCha: | |
| class ByteSizeError(ValueError): | |
| pass |
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
| from ChaCha import ChaCha | |
| from hashlib import blake2s | |
| import os.path as path | |
| from numpy import uint32 | |
| from numpy import uint64 | |
| import numpy | |
| class ChaCha: | |
| class ByteSizeError(ValueError): |