OK, i understand that today is too late to change this behavoiur
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
key=0x4c4a90ace8ef549428b7ad24c8ca8940f130e4a32653bd3e88159ebb8ea0b775
message(utf8)=RDCaaa12234
R.x=111298013310039999727697889470430012371955796234135497681489525089601162729219
R.y=85994739553350295227584036738266368184641250776239259839118099187520698057269
s=63478024937324404321232340287682534731003226978885669652358186946685961083092
public Signature Sign(byte[] data, byte[] key)
{
BigInteger e = CalculateE(data);
// do something about this loop, it is currently pointless
// possibly change kGenerator so that it can generate the next k value
for (int i = 0; i < 100; i++)
{
Rfc6979 kgen = new Rfc6979(curve.N, hashSize);
BigInteger k = kgen.GetK(data, key.ToBigInt(true, true));
EllipticCurvePoint rp = ScalarMult(k, curve.G);
byte v = (byte)(((rp.X > curve.N) ? 2 : 0) | (rp.Y.IsEven ? 0 : 1));
BigInteger r = rp.X % curve.N;
if (r == 0)
{
continue;
}
BigInteger s = InverseMod(k, curve.N) * (e + (r * key.ToBigInt(true, true))) % curve.N;
if (s == 0 || s > curve.N)
{
continue;
}
if (s > curve.N / 2)
{
v ^= 1;
s = curve.N - s;
}
//the following conditions based on that comment alone do not work
//if (rp.X < curve.N && rp.Y.IsEven)
//{
// v = 0;
//}
//else if (rp.X < curve.N && !rp.Y.IsEven)
//{
// v = 1;
//}
//else if (rp.X > curve.N && rp.Y.IsEven)
//{
// v = 2;
//}
//else if (rp.X > curve.N && !rp.Y.IsEven)
//{
// v = 3;
//}
return new Signature(r, s, v);
}
throw new Exception("Failed");
}
int recid = ((R.X > curve.N) ? 2 : 0) | (R.Y.IsEven ? 0 : 1);
recid = (s > curve.N / 2) ? recid ^1 : recid;
int recid = ((R.X > curve.N) ? 2 : 0) | (R.Y.IsEven ? 0 : 1);
recid = (s > curve.N / 2) ? recid ^1 : recid;