Skip to content

llSignRSA

function ll.SignRSA(PrivateKey: string, Message: string, Algorithm: string): string

Returns the base64-encoded RSA signature of Message using PEM-formatted PrivateKey and digest Algorithm (sha1, sha224, sha256, sha384, sha512).

Parameters
PrivateKey(string)
The PEM-formatted private key
Message(string)
The message contents to sign
Algorithm(string)
The digest algorithnm to use: sha1, sha224, sha256, sha384, sha512

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

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