1738610811

When is it necessary to use the 'base64_encode()' and 'base64_decode()' function


![base64](https://i0.wp.com/www.fourmilab.ch/webtools/base64/b64.png) I was reading something about encryption and would like to know when it can be used the most. Are these functions extremely secure or is it always better to use other php functions to encrypt information and data?

(2) Comments
fschmidt
fschmidt
1740097420

Base64 has nothing to do with security. It is to convert data to 7-bit ascii.

amargo85
amargo85
1740119087

ok! i get it, i always thought it could also be used for data security in some way


Welcome to Chat-to.dev, a space for both novice and experienced programmers to chat about programming and share code in their posts.

About | Privacy | Terms | Donate
[2025 © Chat-to.dev]