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
Post a Comment