Bitcoin Forum
November 03, 2024, 02:54:42 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 [1639] 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 ... 2557 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761601 times)
wesleyh
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
February 12, 2014, 09:26:43 PM
 #32761

First one (left) is total crap:

Quote
/* v = x - h k  mod q
 * returns v != 0  */
int sign25519(k25519 v, const k25519 h, const priv25519 x, const priv25519 k) {
   uint8_t tmp[65];
   unsigned w, i;
   for (i = 0; i < 32; i++)
      tmp = x;
   for (i = 32; i < 64; i++)
      tmp = 0;
   mula32(tmp, h, k, 32, -1);
   divmod(tmp+32, tmp, 64, order25519, 32);
   for (w = 0, i = 0; i < 32; i++)
      w |= v = tmp;
   return w != 0;
}

Second one is the one we use in Nxt.

Quote
/* v = (x - h) s  mod q  */
int sign25519(k25519 v, const k25519 h, const priv25519 x, const spriv25519 s) {
   uint8_t tmp[65];
   unsigned w;
   int i;
   for (i = 0; i < 32; i++)
      v = 0;
   i = mula_small(v, x, 0, h, 32, -1);
   mula_small(v, v, 0, order25519, 32, (15-(int8_t) v[31])/16);
   for (i = 0; i < 64; i++)
      tmp = 0;
   mula32(tmp, v, s, 32, 1);
   divmod(tmp+32, tmp, 64, order25519, 32);
   for (w = 0, i = 0; i < 32; i++)
      w |= v = tmp;
   return w != 0;
}

That's bad.

What about comparing outputs of NRS, ur and some other implementation, like NaCl? If ur and NaCl return the same values and NRS returns different ones then we could assume that ur implementation is correct.

There is also this c# version

https://github.com/hanswolff/curve25519

Can't this ported to java?


That one IS ported from java, and now you want to port it back? ;-)
BloodyRookie
Hero Member
*****
Offline Offline

Activity: 687
Merit: 500


View Profile
February 12, 2014, 09:27:04 PM
 #32762


That's bad.

What about comparing outputs of NRS, ur and some other implementation, like NaCl? If ur and NaCl return the same values and NRS returns different ones then we could assume that ur implementation is correct.

I don't have linux OS. Someone else must test that.
But I am not sure that NaCl has that kind of signature/verify procedure for curve 25519.

Nothing Else Matters
NEM: NALICE-LGU3IV-Y4DPJK-HYLSSV-YFFWYS-5QPLYE-ZDJJ
NXT: 11095639652683007953
Eadeqa
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


View Profile
February 12, 2014, 09:27:51 PM
 #32763

There is also this c# version

https://github.com/hanswolff/curve25519

Can't this ported to java?


R u sure it's bug free?

No, but we can compare the results

Nomi, Shan, Adnan, Noshi, Nxt, Adn Khn
NXT-GZYP-FMRT-FQ9K-3YQGS
https://github.com/Lafihh/encryptiontest
BloodyRookie
Hero Member
*****
Offline Offline

Activity: 687
Merit: 500


View Profile
February 12, 2014, 09:32:09 PM
 #32764


There is also this c# version

https://github.com/hanswolff/curve25519

Can't this ported to java?


That one IS ported from java, and now you want to port it back? ;-)

No sign/verify in that version.

Nothing Else Matters
NEM: NALICE-LGU3IV-Y4DPJK-HYLSSV-YFFWYS-5QPLYE-ZDJJ
NXT: 11095639652683007953
tman10
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
February 12, 2014, 09:35:42 PM
 #32765

By giving me all your nxt,  I can send you one doge.
Just do you a favor.

The catch is that I own 0 NXT atm. An exchange owns them.

Yea...NxtChg owns some of mine...Anybody seen him?
bitcoinpaul
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
February 12, 2014, 09:37:28 PM
 #32766

There is also this c# version

https://github.com/hanswolff/curve25519

Can't this ported to java?


R u sure it's bug free?

No, but we can compare the results

We don't search for any version. In fact, we need to know if our (well, dmitry's) java version is working 100% correct.

We have the original c implementation by djb - let some cryptographers (dmitry was no crypto guy!) port it for us!
klee
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000



View Profile
February 12, 2014, 09:38:52 PM
 #32767

Guys I need asap a plugin (or however it is called) for a site to accept donations in NXT!
If it can't be linked to an actual NXT account, at least some graphics, buttons etc.

Thanks in advance.
Eadeqa
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


View Profile
February 12, 2014, 09:39:50 PM
 #32768


We have the original c implementation by djb - let some cryptographers (dmitry was no crypto guy!) port it for us!

The bug was in original c version. The port by dimitry is just fine.


Nomi, Shan, Adnan, Noshi, Nxt, Adn Khn
NXT-GZYP-FMRT-FQ9K-3YQGS
https://github.com/Lafihh/encryptiontest
wesleyh
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
February 12, 2014, 09:41:14 PM
 #32769

Guys I need asap a plugin (or however it is called) for a site to accept donations in NXT!
If it can't be linked to an actual NXT account, at least some graphics, buttons etc.

Thanks in advance.

You can use this as a base: http://nxtra.org/pay-button/

Unfinished since I'm working on a client, which is more important.

Note that you'll have to finish it to either send nxt to a different address every time, or ask the user for their account ID so that you can confirm payment is received. Or if you don't care, you can use it as is...

The QR code is bogus too.
opticalcarrier
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
February 12, 2014, 09:41:45 PM
 #32770

Sometimes I feel a bit frustrated about the fee-system of Nxt, when I see these kind of blocks passing by:


Fee = 0,0016%


Fee = 33,33%

It's not really fair and the rich are getting even richer this way. I love Nxt, but there are small flaws which needs to be addressed. The critics will talk negative about Nxt because of these kind of issues. 

Maybe a percentage instead of a fixed fee? Curious to hear about the options.

I dont think approaching anything from the "rich getting richer" is a good idea in a 100% POS system.  IMO though fee should be based on transaction byte size.  And even if it were based on scale of larger transactions = larger fee, the 'rich' are more apt to mine those higher fee blocks anyways.  There just doesnt seem to be a way to prevent the 'problem', as it were.  Regardless, 'the critics' wont matter the more and more NXT features are released.

The real concern here is people just giving up forging, or centralizing their forging power into central pools.
Daedelus
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
February 12, 2014, 09:42:22 PM
 #32771

Am I right in seeing that the fees for the asset exchange get sent to the Genesis account (destroyed)?
gimre
Legendary
*
Offline Offline

Activity: 866
Merit: 1002



View Profile WWW
February 12, 2014, 09:43:46 PM
 #32772


That's bad.

What about comparing outputs of NRS, ur and some other implementation, like NaCl? If ur and NaCl return the same values and NRS returns different ones then we could assume that ur implementation is correct.

I don't have linux OS. Someone else must test that.
But I am not sure that NaCl has that kind of signature/verify procedure for curve 25519.


I don't remember seeing sign/verify in nacl.

OT: having short break till Mon, in the meantime you guys can dump nxt price a bit Cheesy

NemusExMāchinā
Catapult docs: https://docs.symbol.dev
github: https://github.com/symbol
Passion_ltc
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Crypti Community Manager


View Profile
February 12, 2014, 09:47:23 PM
 #32773

Guys I need asap a plugin (or however it is called) for a site to accept donations in NXT!
If it can't be linked to an actual NXT account, at least some graphics, buttons etc.

Thanks in advance.
http://tipNXT.com/

Coinonaer
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
February 12, 2014, 09:48:42 PM
 #32774

What a heck is going on with BTER and Vircurex? I got 2 NXT deposits sitting in both exchanges since yesterday..
Emailed them but nobody responds..
Anyone else?

At my side its just a Vircurex Problem. They received the Nxt from Bter (Blockchain Explorer I see it) but didn´t deliver it further to my trading account.
opticalcarrier
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
February 12, 2014, 09:49:34 PM
 #32775

Am I right in seeing that the fees for the asset exchange get sent to the Genesis account (destroyed)?


wow I hope thats not the case....  was hoping for some mega craziness for asset issuing, like there was for around block 22000 for alias release

or it could just be that someone is forging on holms with the genesis acct. LOL
bitcoinpaul
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
February 12, 2014, 09:49:44 PM
 #32776


We have the original c implementation by djb - let some cryptographers (dmitry was no crypto guy!) port it for us!

The bug was in original c version. The port by dimitry is just fine.



I know one thing: we still need a cryptographer for auditing!
pinarello
Full Member
***
Offline Offline

Activity: 266
Merit: 100


NXT is the future


View Profile
February 12, 2014, 09:50:58 PM
 #32777

By giving me all your nxt,  I can send you one doge.
Just do you a favor.

The catch is that I own 0 NXT atm. An exchange owns them.

Yea...NxtChg owns some of mine...Anybody seen him?

better read his posts he warned to get your NXT out of the exchange.

Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1010

Newbie


View Profile
February 12, 2014, 09:52:33 PM
 #32778

Am I right in seeing that the fees for the asset exchange get sent to the Genesis account (destroyed)?


No
tman10
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
February 12, 2014, 09:52:55 PM
 #32779

By giving me all your nxt,  I can send you one doge.
Just do you a favor.

The catch is that I own 0 NXT atm. An exchange owns them.

Yea...NxtChg owns some of mine...Anybody seen him?

better read his posts he warned to get your NXT out of the exchange.

Oh I got it out but only half....The other went "poof"
Eadeqa
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


View Profile
February 12, 2014, 09:53:16 PM
 #32780


We have the original c implementation by djb - let some cryptographers (dmitry was no crypto guy!) port it for us!

The bug was in original c version. The port by dimitry is just fine.



I know one thing: we still need a cryptographer for auditing!

Yes, after implementing the fix from BloodyRookie.

I think BloodyRookie patch should be implemented

Nomi, Shan, Adnan, Noshi, Nxt, Adn Khn
NXT-GZYP-FMRT-FQ9K-3YQGS
https://github.com/Lafihh/encryptiontest
Pages: « 1 ... 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 [1639] 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 ... 2557 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!