cryptico
cryptico copied to clipboard
is generateRSAKey() deterministic?
From the documentation, it is not entirely clear wether the generateRSAKey() function is determinitic or not. Meaning, if I use the same PassPhrase and Bits values, am I ensured that the generated RSAkey would always be the same or can it be different from one call to the function to another?
I think it would be an easy test to check, and i haven't used this lib yet, but I probably will be in a minute.
From the doc:
// The passphrase used to repeatably generate this RSA key.
var PassPhrase = "The Moon is a Harsh Mistress.";
I would think that since they are just repeating the passphrase, it would be deterministic. If I use this lib, i will update you with my test results.
@ericwooley Have you used this lib?
@coeneivan I didn't end up using it :(
Good luck though.
It is not.