Obfuscation is similar to encryption but doesn´t require a ‘secret’ to understand. Encryption is reversible but a ‘secret’ is required to do so.
Obfuscation generally involves removing clues from information (whitespace, etc.) to make something difficult to read. It provides no real or true level of security like that of encryption.
Encryption can follow several models, one of which is the ‘secret’ method, called Private Key Encryption, where both parties have a secret. Public key encryption uses a shared one-way key to encrypt and a private recipient key to decrypt. With public key only the recipient needs to have the secret.