Skip to content

llVerifyRSA

function ll.VerifyRSA(PublicKey: string, Message: string, Signature: string, Algorithm: string): number

Returns TRUE if PublicKey, Message, and Algorithm produce the same base64-formatted Signature.

Parameters
PublicKey (string)
The PEM-formatted public key for signature verifiation.
Message (string)
The message that was signed.
Signature (string)
The base64-formatted signature of the message.
Algorithm (string)
The digest algorithm: sha1, sha224, sha256, sha384, sha512.

Add example usage here showing SLua/Luau syntax with ll.VerifyRSA().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.