private static void writeToFile(byte[] cipherText, File encryptedFile)
	{
		//taking an array of bytes(cipherText) and writing to a file
			FileOutputStream fileOutputStream;
			try {
				fileOutputStream = new FileOutputStream(encryptedFile);
			    fileOutputStream.write(cipherText);
			    fileOutputStream.close();
			} catch (IOException e1) {
				e1.printStackTrace();
			} 
	 }