Korean doenjang paste is made solely from soybeans and salt, and is fermented to the point of earthy funkiness. It's pretty assertive. Miso is a bit smoother, milder, and slightly sweeter. Miso is produced by adding rice and a koji starter to the soybeans before fermentation. Those subtle variations in production are responsible for the differences in flavor. However, you can totally substitute one for the other.