Parts of this material (the key) has been borrowed to Sjoerd Langkemper https://www.sjoerdlangkemper.nl/2019/06/19/attacking-rsa/