add new encryption code