-2
$\begingroup$

Can text and media content be encrypted using the same encryption algorithm ? and if there's an algorithm that can do that, how does it work ?

$\endgroup$
2
$\begingroup$

Typically encryption algorithms like AES work on binary data. So before encryption you should encode your data to a binary format. For text an encoding like UTF-8 can be used.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.