Security through obscurity means relying on the secrecy of the design of a system to keep it secure. Kerchkoff's principle states that the security of a system should not rely only on obscurity.
Security through obscurity means keeping the design of a system secret in the hope to make the system more secure.
Kerchkoff's principle states that the security of a cryptographic system must not rely only on keeping its design secret, but primarily on keeping the key secret.