IMO software is not engineering because it has nothing to with the physical sciences
Grace Hopper would like to show you her collection of nanoseconds.
Quite a few practical constraints on software are imposed by the physical world and our current ability to construct devices out of it. Working within those constraints to provide value that people can depend on isn't the worst definition of engineering I've heard.
I hope you don’t write your own crypto.
It becomes engineering when the software is flying to the moon and back.