<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 30, 2018 at 7:33 PM Sidney Markowitz <<a href="mailto:sidney@sidney.com">sidney@sidney.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Phillip Hallam-Baker wrote on 31/08/18 3:39 AM:<br>
 > I am using Shamir secret sharing as a recovery mechanism for private keys and<br>
 > would like to extend this to recover quantum resistant keys. As a result, I<br>
 > need a nice round prime greater than 2^256.<br>
 ><br>
 > Finding a nice round prime smaller than 2^256 is easy, 2^255-2^19-1. But I<br>
 > need 2^256-x. I was looking for lists of Solinas primes but can't find one<br>
 > with what I need.<br>
 ><br>
 > Anyone got a pointer?<br>
<br>
Are you asking for exactly 256 or greater than or equal to 256?<br>
<br>
There are a number of both listed in the table of curves in<br>
<a href="https://safecurves.cr.yp.to/" rel="noreferrer" target="_blank">https://safecurves.cr.yp.to/</a></blockquote><div><br></div><div><br></div><div class="gmail_default" style="font-size:small">I need a value greater than 2^256, sorry. 2^257-n</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">So what is the lowest value of n that is prime? Did not see that in safe primes :(</div></div></div>