0

what text encryption algorithms are being used nowadays that are secure? Obviously I am not interested in DES or 3-DES that google shows me and which can break...

1 Answers1

1

Generally we first encode the text to binary and then do the encryption. Then we can decrypt and decode to text again. If that suits your need then you can use any secure cipher. The conversion of a textual message to binary is called character encoding. UTF-8 is probably the most used encoding as it supports all Unicode characters & code points, keeps text relatively small and it is compatible with US ASCII. So there is generally no need for specialized text encryption algorithms.

If the ciphertext also needs to be text then you can perform an additional binary to text encoding. Before decryption you need to decode the encoding-specific text to binary again. Base 64 is probably the most used, as it is relatively efficient (6 bits per character) and ASCII (and thus UTF-8) compatible.

Maarten Bodewes
  • 92,551
  • 13
  • 161
  • 313