R
R
roman99662016-05-12 17:34:29
JavaScript
roman9966, 2016-05-12 17:34:29

How to encrypt data in Backbone.JS?

I am developing a desktop application in BackboneJS. NW.JS is used for assembly. All data is stored in WebSQL. How can I encrypt data in a database? Override sync and fetch and encrypt there? Or is there some more convenient method? If you override sync and fetch, how best to do it, what would be applied to all models and collections in the application.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
roman9966, 2016-05-18
@roman9966

Through the prototype, I overridden the standard methods fetch, save for the model and collection, made encryption there, then from my collection and the model in which I overridden these methods, these methods were inherited throughout the application.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question