Storing variable in the local storage

Hello I am new to frappe and I need some help
I am building my own app and I need to store some variables in local storage encrypted how to achieve that

any help will be appreciated

Write usecase of your variables store in local storage

1 Like

I am creating an API endpoint and getting the variables as parameters I want to encrypt them and store them in local storage
how to achieve that