Trying to encrypt userdata

We are trying to encrypt current user data but we are not able to find “my secrey key”

Moralis.enableEncryptedUser();
Moralis.secret = ‘my Secrey Key’;

Where I’ll get the encrypted key

maybe this helps:


I’m not sure what you mean by where to get the encrypted key, where do you want to find it?

I don’t know what is encrypt key

I think that it depends to you what encryption key you want to set.

Yes, but how and where does one set one? Considering that I’m using React for my client app.

You set it manually. And user info is stored in the localstorage.