On Security Notions for Public-Key Encryption Schemes under Circumstances with Quasi-Random Resources : Semantic Security and Indistinguishability