The property public does not exist in DiffieHellman.
Usage of ELSE IF is discouraged; use ELSEIF instead.
Visibility must be declared on methods.
The closing brace for the class must go on the next line after the body
Visibility must be declared on methods.
Correcting indentation of Interface.