Since people realized that the principles of quantum mechanics, required microscopic systems to be changed upon observation can be exploited, quantum cryptography came into being which is brought an unconditionally secure way being applied to a variety of systems. Quantum key distribution is the most important application and the most widely used in quantum cryptography. In the classical cryptography, one time password is the most secure in theory, because the password is changed every time and the same password cannot be used at a later time. In this paper, we present a novel idea, which is applied the theoretical significance of one time password to quantum communication, one time basis. The basis automatically updates before each session ends based on the random number generated by the communication parties and two secure one-way functions, which resistances relay attacks and impersonation attacks.