Bitcoin Forum
November 16, 2024, 01:35:34 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 ... 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 [551] 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 ... 1993 »
  Print  
Author Topic: NEM (XEM) Official Thread - 100% New Code - Easy To Use APIs  (Read 2985231 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
jabo38
Legendary
*
Offline Offline

Activity: 1232
Merit: 1001


mining is so 2012-2013


View Profile WWW
January 08, 2015, 05:05:12 AM
 #11001

The NEM devs aren't messing around  Cool

makoto1337
Legendary
*
Offline Offline

Activity: 1596
Merit: 1000


I am not Dorian Nakamoto.


View Profile WWW
January 08, 2015, 05:49:04 AM
 #11002

elliptic curve: "Switched elliptic curve from secp256k1 to ed25519: Ed25519 is a state of the art elliptic curve. Verification of signatures is about 6 times faster for ed25519. This will speed up the synchronization process."

Last time I looked it up, there were no good (reviewed) / fast implementations of Ed25519 in Java. What library are using for Ed25519 ?

That is correct. Unfortunately there were no good java implementations of this curve so we had to do it ourselves.

                
                                 ▄▄██████████████████▄▄╓
                           ▄████████████████████████████████▄
                       ▄████████████████████████████████████████▄
                    ▌███████████████████████████████████████████████╒
                 ▄████████████████████████████████████████████████████▄
               ▓█████████████████████████████████████████████████████████
             ▓█████████████████████████████████████████████████████████████
           ▄████████████████████████████████████████████████████████████████▄
          ████████████████████████████████████████████████████████████████████
         ███████████                                                ███████████▄
       ╒████████████                                                ▀███████████▄
       █████████████                                                ▀████████████▄
      ███████████████████████████████████      ███████████████████████████████████
     ████████████████████████████████████      ████████████████████████████████████
     ████████████████████████████████████      ████████████████████████████████████▄
    ▄███████████████╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╙       ╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧████████████████
    ████████████████                                                ▀███████████████
    ████████████████                                                ▀███████████████
    ████████████████████████████████████╝       ████████████████████████████████████
    ███████████████████████████████████          ███████████████████████████████████
    █████████████████████████████████▀            ▀█████████████████████████████████
    ▐███████████████████████████████       ▄▄       ███████████████████████████████▌
     █████████████████████████████▀       ████       ▀█████████████████████████████
     ╘███████████████████████████       ▄██████▄       ███████████████████████████▌
      ▀████████████████████████▀       ██████████       ▀█████████████████████████
       ▀██████████████████████╛      ╔████████████▄       ███████████████████████
        █████████████████████       ████████████████       ▀████████████████████
         ▀█████████████████╚      ╓██████████████████▄       █████████████████▀
           ██████████████▀       ▓█████████████████████       ▀██████████████╝
            ▀███████████╩       ████████████████████████▄       ███████████▀
              ▀████████       ▓███████████████████████████       ▀████████
                ▀████▐       ██████████████████████████████▄       ████▀
                  ╙▀       ▄█████████████████████████████████       ▀▐
                          ████████████████████████████████████▄
                         ▀████████████████████████████████████▀
                              ▀▀████████████████████████▀▀╛

Sora
| SoraTopia | SoraEconomy                                                    
/The Decentralized Autonomous Economy /
|
XOR
jabo38
Legendary
*
Offline Offline

Activity: 1232
Merit: 1001


mining is so 2012-2013


View Profile WWW
January 08, 2015, 06:06:04 AM
 #11003

The NEM devs aren't messing around  Cool

it's real time

Eadeqa
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


View Profile
January 08, 2015, 06:08:29 AM
 #11004

elliptic curve: "Switched elliptic curve from secp256k1 to ed25519: Ed25519 is a state of the art elliptic curve. Verification of signatures is about 6 times faster for ed25519. This will speed up the synchronization process."

Last time I looked it up, there were no good (reviewed) / fast implementations of Ed25519 in Java. What library are using for Ed25519 ?

That is correct. Unfortunately there were no good java implementations of this curve so we had to do it ourselves.

How do you know you implemented it correctly?  Should it not be reviewed by some crypto guru who understands ECC?

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

Activity: 1232
Merit: 1001


mining is so 2012-2013


View Profile WWW
January 08, 2015, 06:43:57 AM
 #11005

NEM has 5 very well educated and very experienced core devs.  There might very well be a guru or two on the team.  Apparently building a new code from scratch and doing it well is quite a challenge.

As pretty much everyone knows, I don't know hardly anything from the technical perspective, but I talked to a programmer who independently decompiled the code and was very impressed.  

Ethereum had a massive pre-sale and so it is open source pre-launch, but pretty much only the coins with massive pre-sales are open-source pre-launch.  

That said, it is not completely locked away either.  It is possible to decompile it and have a good look.  @Eadeqa, please take a moment to decompile it and take a look.  I hope you can look at it and come back and say good things!

Eadeqa
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


View Profile
January 08, 2015, 07:07:27 AM
 #11006

NEM has 5 very well educated and very experienced core devs.  There might very well be a guru or two on the team.  

There is no cryptographer among the 5. They are all programmers.

Quote
@Eadeqa, please take a moment to decompile it and take a look

I pretty sure they implemented (probably just copied C++ version) of ed25519 correctly, but still are they 100% sure?


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

Activity: 1596
Merit: 1000


I am not Dorian Nakamoto.


View Profile WWW
January 08, 2015, 07:27:30 AM
 #11007

Any Greek NEMsters?

                
                                 ▄▄██████████████████▄▄╓
                           ▄████████████████████████████████▄
                       ▄████████████████████████████████████████▄
                    ▌███████████████████████████████████████████████╒
                 ▄████████████████████████████████████████████████████▄
               ▓█████████████████████████████████████████████████████████
             ▓█████████████████████████████████████████████████████████████
           ▄████████████████████████████████████████████████████████████████▄
          ████████████████████████████████████████████████████████████████████
         ███████████                                                ███████████▄
       ╒████████████                                                ▀███████████▄
       █████████████                                                ▀████████████▄
      ███████████████████████████████████      ███████████████████████████████████
     ████████████████████████████████████      ████████████████████████████████████
     ████████████████████████████████████      ████████████████████████████████████▄
    ▄███████████████╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╙       ╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧╧████████████████
    ████████████████                                                ▀███████████████
    ████████████████                                                ▀███████████████
    ████████████████████████████████████╝       ████████████████████████████████████
    ███████████████████████████████████          ███████████████████████████████████
    █████████████████████████████████▀            ▀█████████████████████████████████
    ▐███████████████████████████████       ▄▄       ███████████████████████████████▌
     █████████████████████████████▀       ████       ▀█████████████████████████████
     ╘███████████████████████████       ▄██████▄       ███████████████████████████▌
      ▀████████████████████████▀       ██████████       ▀█████████████████████████
       ▀██████████████████████╛      ╔████████████▄       ███████████████████████
        █████████████████████       ████████████████       ▀████████████████████
         ▀█████████████████╚      ╓██████████████████▄       █████████████████▀
           ██████████████▀       ▓█████████████████████       ▀██████████████╝
            ▀███████████╩       ████████████████████████▄       ███████████▀
              ▀████████       ▓███████████████████████████       ▀████████
                ▀████▐       ██████████████████████████████▄       ████▀
                  ╙▀       ▄█████████████████████████████████       ▀▐
                          ████████████████████████████████████▄
                         ▀████████████████████████████████████▀
                              ▀▀████████████████████████▀▀╛

Sora
| SoraTopia | SoraEconomy                                                    
/The Decentralized Autonomous Economy /
|
XOR
BloodyRookie
Hero Member
*****
Offline Offline

Activity: 687
Merit: 500


View Profile
January 08, 2015, 08:58:30 AM
 #11008

For those of you who are asking themselves what the starting point for the ed25519 implementation was:

http://lmgtfy.com/?q=Bloody+Rookie+ed25519

Smiley

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

Activity: 866
Merit: 1002



View Profile WWW
January 08, 2015, 09:02:59 AM
 #11009

For those of you who are asking themselves what the starting point for the ed25519 implementation was:

http://lmgtfy.com/?q=Bloody+Rookie+ed25519

Smiley


What you'll find there is only part of our changes, it'll all be visible, once nem.core will become public
(so that NXT will be able to borrow ed25519 if they'll want to)

There is no cryptographer among the 5. They are all programmers.

We went thorugh curve25519 paper, and ed25519 paper (and bloodyrookie went through some more papers). It's math. We're NOT BAD at math.

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

Activity: 644
Merit: 500


View Profile
January 08, 2015, 09:04:00 AM
 #11010

For those of you who are asking themselves what the starting point for the ed25519 implementation was:

http://lmgtfy.com/?q=Bloody+Rookie+ed25519


I saw that before but wasn't clear this version is being used in nem. You yourself wrote:

https://github.com/BloodyRookie/ed25519-java

"There are no guarantees that this is secure for use. Tests against the data from the Python implementation are passing, but this has not yet been audited by a professional cryptographer."

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

Activity: 866
Merit: 1002



View Profile WWW
January 08, 2015, 09:08:13 AM
 #11011

"There are no guarantees that this is secure for use. Tests against the data from the Python implementation are passing, but this has not yet been audited by a professional cryptographer."

You do realize, this is text from FORKed implementation...

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

Activity: 644
Merit: 500


View Profile
January 08, 2015, 09:10:51 AM
 #11012

(so that NXT will be able to borrow ed25519 if they'll want to)

Pretty unlikely Nxt would switch to anything else, at this point. It's probably impossible now.

Quote
We went through curve25519 paper, and ed25519 paper (and bloodyrookie went through some more papers). It's math. We're NOT BAD at math.

The basic rule is that you don't implement your own crypto and use well tested implementation.

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

Activity: 866
Merit: 1002



View Profile WWW
January 08, 2015, 09:14:18 AM
 #11013

The basic rule is that you don't implement your own crypto and use well tested implementation.

Do not mix implementing OWN crypto, with porting implementation.

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

Activity: 687
Merit: 500


View Profile
January 08, 2015, 09:43:21 AM
 #11014

@Eadeqa: it is a port from libsodium ref 10 implementation: https://github.com/jedisct1/libsodium/tree/master/src/libsodium/crypto_sign/ed25519/ref10

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

Activity: 952
Merit: 1000


Stagnation is Death


View Profile WWW
January 08, 2015, 10:07:30 AM
 #11015

NCC working, NIS not available?
jabo38
Legendary
*
Offline Offline

Activity: 1232
Merit: 1001


mining is so 2012-2013


View Profile WWW
January 08, 2015, 10:12:26 AM
 #11016

Someday all these names on this page are going to be either a "hero" or a "legend". hahaha

BloodyRookie
Hero Member
*****
Offline Offline

Activity: 687
Merit: 500


View Profile
January 08, 2015, 10:14:07 AM
 #11017

NCC working, NIS not available?

In case you just started the software, NIS needs some time for startup. Have patience Smiley

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

Activity: 1059
Merit: 1016


View Profile WWW
January 08, 2015, 10:18:49 AM
 #11018

Why reinvent the wheel and implement one's own crypto when there are so many out there? Any crypto implemented their own? I think what our rocket scientists did was the right path. I'd do the same if i were to design a crypto.

Edit: From my deduction and observation, I believe BR was/is a professor in mathematics or physics, or at least some known and important academic figure in that discipline.
jabo38
Legendary
*
Offline Offline

Activity: 1232
Merit: 1001


mining is so 2012-2013


View Profile WWW
January 08, 2015, 10:27:48 AM
 #11019

While I have the devs attention.  I would like to make a request with multi-sig.  I know you guys like tackling the impossible so here is a challenge (but maybe wait until after launch, right  Wink )

1. In Bitcoin and other coins, multi-sig as far as I know is just an option with in one person's wallet software and so each wallet company develops there own solution.  But like a mutlisig account started with one wallet software, can't really be used on another companies wallet's software as far as I know.  

Request 1: I think it would be really cool if our multisig was a cross third party platform solution and if it was I can think of lots and lots of neat things it could be used for and ways it can open up the blockchain.  For instance, smart contracts could become sooooo much easier.  I could make a "If this then that" parameter machine that could examine millions of different criteria and options and would release a part of the mutisig if some kind of function happened.  

2. All this business with multisig and multikeys is complicated for the user.  What I would think is really cool if one of the mutlisig's options could be a Google authentication code.  

Is there anyway to slip the Google Authenticator code into multi-sig? Or am I just asking too much?  (please note the do not delay launch request  Wink hahaha)

pandher
Legendary
*
Offline Offline

Activity: 952
Merit: 1000


Stagnation is Death


View Profile WWW
January 08, 2015, 10:32:31 AM
Last edit: January 08, 2015, 10:53:05 AM by pandher
 #11020

NCC working, NIS not available?

In case you just started the software, NIS needs some time for startup. Have patience Smiley

Working Now  Smiley
Pages: « 1 ... 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 [551] 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 ... 1993 »
  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!