Crypto_before stuff