英文:
Asp.net to Golang migration
问题
我需要将一个asp.net应用迁移到React前端和Golang后端。
由于asp.net应用将被废弃,所以我正在为前端使用React和后端使用Golang设置API。
这样,我就面临着遗留的MSSQL数据库和其中已存在的记录。
这让我产生了以下问题:
MSSQL数据库中的每个用户都有一个分配的密码哈希值,我需要知道它是如何创建的,以便我可以在Golang中重新创建它。我需要这个信息来验证用户的密码,并且我还可以使用相同的哈希算法创建新用户以保持一致性。
希望我的表述清楚。
谢谢。
英文:
I need to migrate an application from asp.net to React FrontEnd with a Golang backend.
The Asp.net app is to be decommissioned so I am setting API in Golang and React for the front end.
So this leaves me with the legacy MSSQL database and the records that are existing.
This leads me to the question which is as follows;
Each user in the MSSQL database has a password hash assigned to it, I need to know how that was created so that I can recreate this in Golang. I need this so that I can validate users' passwords using Go and I can also create new users with the same hashing for consistency.
I hope that this is clear.
Thanks
答案1
得分: 1
我找到了一个可以实现这个的库。
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论