Let's say I have password, for example '1111111111'. Additionally I define some time period in hours, for example 20 hours. Program need to encrypt password, save encryped data to file for recovery purpose (if computer will be turned off, data in memory will be lost forever).
- Is there a way (algorithm) to encrypt the password so that even the user who writes the program could not decrypt it earlier than after 20 hours.