It doesn&#x27;t appear to be a new implementation. It looks like it uses Node&#x27;s crypto lib:<p><a href="https:&#x2F;&#x2F;nodejs.org&#x2F;api&#x2F;crypto.html#crypto_crypto_publicencrypt_public_key_buffer" rel="nofollow">https:&#x2F;&#x2F;nodejs.org&#x2F;api&#x2F;crypto.html#crypto_crypto_publicencry...</a><p>Not sure why it says DSA is supported, the crypto library only supports RSA.<p>It uses this library that stitches together a PEM from an ssh public key:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;dominictarr&#x2F;ssh-key-to-pem&#x2F;blob&#x2F;master&#x2F;index.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dominictarr&#x2F;ssh-key-to-pem&#x2F;blob&#x2F;master&#x2F;in...</a>