I am currently trying to make use of services offered on Google’s Cloud Platform, such as Cloud Datastore. This requires an authentication token, obtained using a JWT(JSON Web Table), signed using the RS-256 algorithm(RSASSA-PKCS1-V1_5-SIGN). I’ve spent a good amount of time searching for Lua implementations of this algorithm as well as any possible pseudocode. Having not been able to find anything, I currently make a request to Google Apps Script, which has access to signing functions, to create a signed JWT and return an authentication token. Although this works well, I would like to implement the signing algorithm in pure Lua. If anyone has some form of help they could offer, whether it be pseudocode, pure Lua modules, or some guidance, I’d greatly appreciate it.