Don't be lookin' for shortcuts if you don't understand what you're doing.
Work it out at the bits / binary level until you understand, beyond any doubt, what's going on.
Once you are solid with the basic principals, then you'll understand the shortcuts.
.02
Scott