Its dead simple.
Reverse wound.
Reverse polarity.
Normally wired in series (though parallel is also humbucking, but less common).
This way the noise generated by (not made by in and of themselves, but induced by ambient electrical fields, which there have to be, all the time) is cancelled (as are some of the frequencies generated by induction due to a string vibrating near it).
The cancellation is by nothing more than number of turns. An equal number of turns in each wind is a 'perfect' humber, and any excess in one coil act as single coil turns (this is a feature if many BKs; there is an offset so that there as some turns that still make single coil tone, but not enough that the pickup as a whole is noisy).
You can pair any single coils into a humbucker, in principle, as long as they are RPRW, and how humbuckery the pickup you get will be is determined by how many turns each single coils has. What actual tone you get is entirely another matter, and totally unpredictable.