This is a work in progress. The code here may not be viable for non-block based languages as this is optimised for Scratch. Its length is only around 512 bits (532-bits to be exact) and can't really be used for RSA in real life The lack of blocks and options made me make certain decisions that I would not have to in Javascript. For example, the delay between running different code blocks made me choose more computationally intensive functions in favour of more blocks with less computing involved.