MCPcopy Create free account
hub / github.com/LanceLRQ/deer-executor / RSA2048VerifyString

Function RSA2048VerifyString

common/persistence/utils.go:71–73  ·  view source on GitHub ↗

RSA2048VerifyString 用RSA2048运算校验文本签名

(body string, sign []byte, publicKey *rsa.PublicKey)

Source from the content-addressed store, hash-verified

69
70// RSA2048VerifyString 用RSA2048运算校验文本签名
71func RSA2048VerifyString(body string, sign []byte, publicKey *rsa.PublicKey) error {
72 return RSA2048VerifyBytes([]byte(body), sign, publicKey)
73}
74
75// RSA2048VerifyBytes 用RSA2048运算校验byte数组签名
76func RSA2048VerifyBytes(body []byte, sign []byte, publicKey *rsa.PublicKey) error {

Callers

nothing calls this directly

Calls 1

RSA2048VerifyBytesFunction · 0.85

Tested by

no test coverage detected