finish encrypte for authenticate key