This file contains 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 cryptography.hazmat.primitives import hashes, hmac | |
from cryptography.hazmat.primitives.kdf.hkdf import HKDF | |
from cryptography.hazmat.primitives.asymmetric import x25519 | |
from cryptography.hazmat.primitives.serialization import ( | |
load_pem_public_key, | |
load_pem_private_key | |
) | |
def main(): | |
sk_path = ... |
This file contains 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
assert ( | |
lambda f:(lambda x: x(x) | |
)(lambda y: f(lambda x: y(y)(x))))( | |
lambda f: lambda n: ( lambda n: n( | |
lambda f: lambda x: lambda y: y())( | |
lambda x: lambda y: x()))(n)( | |
lambda: lambda f: lambda x: f(x))( | |
lambda: (lambda x: lambda y: lambda f: y( | |
x(f)))(n)(f(( lambda n: (lambda p: p( | |
lambda x: lambda y: y))( n((lambda p: ( |
This file contains 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
/* Can you find the bug without ASan or Valgrind? | |
* | |
* $ gcc --version | |
* gcc (Arch Linux 9.3.0-1) 9.3.0 | |
* $ gcc -Wall -Wextra -pedantic bug.c -o bug | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
enum event_type { SUCCESS, FAILURE, WARNING, DEBUG }; |