start of output encryption, SHA512 of discared bits works, segfaulting AES_encrypt() commented out