An Orthogonal Algorithm for Key Management in Hardware Obfuscation