heey I need ur help..
how to convert a string (text content) to base 64 ??what are the steps for writing this program
base64 encodes sequences of bytes, so first you need to convert your string to bytes. How you do this depends on the language/platform you're using... if you're doing this in assembly, your text might already use a single-byte encoding.
RFC 4648 describes how to encode a sequence of bytes as base64. This should be all you need to create your own implementation.
Have a go at writing it yourself, and if you have any trouble, please post your code and questions.