Post
Topic
Board Announcements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
by
nexern
on 11/01/2014, 15:56:58 UTC

nxt system should have a validation function to verify the account is available.

e.g:
acct: 209832084023840384023
MD5 & SHA Checksum: DfwSgeH

so the new account: DfwSgeH-209832084023840384023

Check the MD5 or SHA to verify the account available..

thanks for this example coolfish,
could you explain further please how this checksum approach can verify account available?

it just a simple example.

acct: 209832084023840384023
MD5 & SHA Checksum: DfwSgeH    // from MD5("accountid")

so the new account: DfwSgeH-209832084023840384023  // from  substr(MD5("accountid"),6)+ "- accountid"

//substr(MD5("209832084023840384023"),6)=="DfwSgeH"
if( substr(MD5("209832084023840384023"),6)==substr("DfwSgeH-209832084023840384023",6) ) it is available..
else unavailable.

Each new account is password and userid combination : password-userid

Please see my thread about that in the other forum: https://forums.nxtcrypto.org/viewtopic.php?f=17&t=524
We can do a lot better than merely detecting if the user made an error. With the method presented there, we can correct what the user typed. - That's 2nd gen. :p

thx, ricot,

ok, understood. usefull for users typing in account numbers but this doesn't answer my question.
this doesn't help to prevent sending funds to hiberNXT, or does it and if, could you please explain how?

as said, i am currently on this, therefore i would like to understand the whole procedure.
from what i see the main problem is to copy or even type a number to send funds to
which is not the intended number and therefore the funds are lost in hiberNXT.

is this what we are talking about?