encode and decode data in angularjs -


i trying view data backend (services) encrpted. trying use base64 decode , base64 encode view service data , send data. base64 has encoding , decoding data contains these tokens."abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz0123456789+/=". backend data has other tokens. there encode , decode methods?

vanilla javascript can in browsers @ point. use base64 methods provided, btoa() , atob(). may not supported in older versions of browsers, may have simple algorithm converting. don't think angularjs has implemented this, because it's handled.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

c++ - How to test/verify that zero-initialization takes place -

node.js - Webpack/TypeScript Raising Errors When node_modules is Excluded -