The SR-71 engine is a weird beast operating like both a ramjet and turbojet due shaping the flow and injecting fuel in the air stream.
A ramjet [1] stays efficient at high speeds even though it on the outside kind of looks like an afterburner.
It was a conventional afterburning turbojet for take-off and acceleration to Mach 2 and then used permanent compressor bleed to the afterburner above Mach 2. The way the engine worked at cruise led it to be described as "acting like a turboramjet".
A ramjet [1] stays efficient at high speeds even though it on the outside kind of looks like an afterburner.
https://en.wikipedia.org/wiki/Pratt_%26_Whitney_J58[1]: https://en.wikipedia.org/wiki/Ramjet