did encryption and hash in dao.