Encrypted data recovery method and a key registration system