first attempt at encrypt/decrypt