Use Hooks to encrypt the email after user registration

I want to encrypt my email address and save it in the database after I register as a user, but I don’t know how to do it

Hi @qinghua3939,

Can you please give us more context?

I think so. I modified the user’s mailbox in java, but auth0 was not used, so the token would not be invalidated. In fact, the token is invalid. This is why. I do not understand

I’m sorry, I am having a difficult time understanding the exact requirements. Why are you encrypting the email?

Because our customers require email to be encrypted

Are you trying to encrypt them in Auth0?

Closing as unresponsive.