摘要:
A key device cannot calculate a common key and a client can confirm that processing has been performed correctly by a correct key device. A random number generating unit 12 generates random numbers s 1 , s 2 , s' 1 , and s' 2 . A public keys randomizing unit 13 generates first randomized public keys information obtained by randomizing public keys by using the random number s 1 and second randomized public keys information obtained by randomizing the public keys by using the random number s 2 . A proxy calculation unit 21 calculates a first commission result by using a secret key and calculates a second commission result by using the secret key. A verification unit 14 calculates a first verification value by using the random number s 2 , calculates a second verification value by using the random number s 1 , and verifies whether or not the first verification value and the second verification value coincide with each other. A common key calculation unit 15 calculates a common key by using the random numbers s' 1 and s' 2 if the first verification value and the second verification value coincide with each other.
摘要:
Registered network-based identification corresponding to any of networks is stored in a key device 12. A terminal device 11 sends ciphertext and network-based identification to the key device 12, using a network. The key device 12 receives the sent ciphertext and network-based identification and outputs response information corresponding to a decrypted value of the ciphertext when the network-based identification corresponds to the registered network-based identification. The terminal device 11 obtains the decrypted value from the response information.