First, plain text data is compressed by ZLIB compression algorithm. The compressed data is encrypted by choosen public key or by password. At this step, BCTextEncoder utilizes RSA asymmetric algorithm for public key encryption and AES(Rijndael) algorithm with 256-bit key for password-based encryption. Finally, encrypted data is encoded by BASE64 encoding algorithm to text format.
The picture illustrates the process of data transformation:So resulting text contains only valid characters and may be sent by e-Mail or saved as a text file.
NOTE: BCTextEncoder is compatible with well known PGP utility. It means that it can decode messages encoded by PGP .