Re: using JS to convert id_rsa.pub to modulus and exponent

And this one how to create an x.509 cert in JS

https://gist.github.com/melvincarvalho/d8889b6b9b4beca6dcf5

On 31 July 2015 at 00:47, Melvin Carvalho <melvincarvalho@gmail.com> wrote:

>
>
> On 31 July 2015 at 00:45, Melvin Carvalho <melvincarvalho@gmail.com>
> wrote:
>
>> https://gist.github.com/melvincarvalho/90c97a8c57e4cac14b5d
>>
>> Seems to work for me ...
>>
>> For some reason the modulus is 257 long with a leading 00, I'd normally
>> expect 256 = 2048 bits ... must be some subtle reason for it ...
>>
>
> Sorry, this was primarily meant for the webid list.  Tho, actually may be
> of some slight interest in payments ... ie use of the digital bazaar crypto
> library
>
>

Received on Thursday, 30 July 2015 23:03:48 UTC