How to design system to allow migration of encryption?
问题 I want to set up a system where I am allow to migrate encrypted password (hash password), from one system to another. How would i do this? Say 2 month down the line, i found a encryption that is 10 times better and the current hash function has been proven without a doubt, totally vulnerable. How would I go about migrating user password from one type of hash to another (the better one). 回答1: You can slowly migrate from a method to another using the following technique. I cannot guarantee its