encryption implemented, need more testing