Enc_mem encrypt the data in memory. encrypt when you write and decrypt when you read. $ make $ ./main $ make clean