Base64 encoding and decoding in client-side Javascript

前端 未结 14 2084
挽巷
挽巷 2020-11-22 04:27

Are there any methods in JavaScript that could be used to encode and decode a string using base64 encoding?

14条回答
  •  失恋的感觉
    2020-11-22 04:52

    I'd rather use the bas64 encode/decode methods from CryptoJS, the most popular library for standard and secure cryptographic algorithms implemented in JavaScript using best practices and patterns.

提交回复
热议问题