The security strength of the traditional one-time-pad encryption system depends on the randomness of the secret key. However, It can hardly to generatea truerandom key by using the existing technologies and methods, and it is also difficult to issue and store the random keywhich is at least as long as the plaintext. Therefore, we pay more attention to the logical operation used in the encryption and decryption but not to how to generate the random key. The calculator, a three-dimensional DNA self-assembly pyramid structure, is designed to construct four common logical operations (AND, OR, NOT, XOR) by programming DNA interactions. And two novel one-time-pad cryptography schemes, a single-bit one-time-pad algorithm and improved double-bit on...