Has your algorithm been used before and is it patented?
You have a very good question! I could not even think about the fact that such things can be patented and do not worry that someone will be able to repeat your project, because then the modem will have problems with the proof that this is your project.