Added result code checking
Ignore super secret key file.
Adding interactive mode for creating key file.
Fixed string comparison syntax error.
Fixed incorrect key return value.