regenerate encrypted data