If the seed on ether.camp is more than 64 chars then I get:
[Error] Error: Invalid hex string
hexWrite (eth-utils.js:17402)
write (eth-utils.js:17477)
fromString (eth-utils.js:17010)
Buffer (eth-utils.js:16980)
toAddress (eth-utils.js:12946)
setPrivateKey (rlpBuilder.js:100)
setSeedPhrase (rlpBuilder.js:95)
setSecretKey (rlpBuilder.js:108)
(anonymous function) (balanceTxDialog.js:76)
dispatch (jquery.min.js:3:8555)
handle (jquery.min.js:3:5258)
I tried to TX with seed with Web Inspector which says:
// must be an even number of digits
var strLen = string.length
if (strLen % 2 !== 0)
throw new Error('Invalid hex string')
if (length > strLen / 2) {
length = strLen / 2
}
for (var i = 0; i < length; i++) {
var parsed = parseInt(string.substr(i * 2, 2), 16)
if (isNaN(parsed))
throw new Error('Invalid hex string')
buf[offset + i] = parsed
}
return i
The error is permanent in both Safari and Firefox.
Furthermore that limit depends on what chars you put in the Transfer form and can be lower (e.g for !@#$%^^
its only 63).
I tried with another account with much shorter seed <40 chars and everything works fine.
My question is how to produce a hash from my very long seed?