Post
Topic
Board Announcements (Altcoins)
Re: IOTA
by
Jimmy2011
on 23/12/2015, 10:55:56 UTC
it's interesting! What is the algo again that derives adress from secrect phrase, and how does it give '9' such funny properties?

https://github.com/JinnLabs/SaM/blob/master/src/SaM.java:

Quote
Note that the hash of the empty string is all zeros, this can be used in cases when the hash of NULL should be NULL.

"9" is treated as "all zeros"/NULL.

Woww

What I just tested shows that the any additional '9' or '999999' in the end of the passphrase gives the same address as the original passphrase. But different addresses were returned if '9' or '9999' was inserted in the middle of the original passphrase.