the file abc.txt has several lines of ciphertext. i want to encode the line of ciphertext into hex encode or base64 before putting in string srr . is there any way i can do it ?

```
bufferedReader = new BufferedReader(new FileReader("abc.txt"));

                             String srr = null;

                             srr = bufferedReader.readLine()

```