Add encrypt_table

Add the ability to encrypt a table for the first time