Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道如何为 API 实现公钥私钥认证以及如何生成新的公钥私钥对并将它们存储在数据库中,以便在 API 命中时,我可以检索它们进行认证。如果我建议的方法有误,请纠正我,并请分享任何代码示例,以便我了解事情是如何工作的。