DID 学习日记 - PolygonID - 基于 Ethereum address 的 DID
里面提到的 JWS with Ethereum Signature 可以参考如下资料
https://learnblockchain.cn/article/5012
https://connect2id.com/products/nimbus-jose-jwt/examples/jwt-with-es256k-signature
ECDSA 只是签名算法。与 RSA 和 AES 不同,这种算法不能用于加密。以太坊采用的是 secp256k1 曲线。
Actually, it is not possible to uniquely recover the public key from an ECDSA signature (𝑟,𝑠). This remains true even if we also assume you know the curve, the hash function used, and you also have the message that was signed.