Tomographic quantum cryptography: equivalence of quantum and classical key distillation