It would be great to assign a custom bit length to the RSA key generation. Some time in the last couple of months, the compute method for isolates got extended which allows the method to execute static functions. This change gives us the ability to provide a custom bit length.
I've used an array as a parameter for the getRsaKeyPair function to mock a tuple. If you think another data type would be more fitting feel free to adapt the proposal.
It would be great to assign a custom bit length to the RSA key generation. Some time in the last couple of months, the
compute
method for isolates got extended which allows the method to execute static functions. This change gives us the ability to provide a custom bit length.I've used an array as a parameter for the
getRsaKeyPair
function to mock a tuple. If you think another data type would be more fitting feel free to adapt the proposal.