I've come across this technique to multiply two numbers of multiple digits and its not long multiplication. I'd appreciate it if someone could throw some light on why it works or the logic behind it.
1 2 3
x 4 5 6
-------
1 x 456 = 4 5 6
2 x 456 = 8 10 12
3 x 456 = 12 15 18
----------------------------
sum = 4 13 28 27 18
----------------------------
fix carry = 5 6 0 8 8