I used the official javascript library to create and attach a transaction to the tangle, but the first 2 characters of the tag are always changed to some random characters.

eg. HELLOWORLD9999999999999999 is changed to XYLLOWORLD9999999999999999

How to fix this?

1 Answer 1


Due to a bug in the signing process, the js lib needs to work around by altering the tag

Ref: Why is the normalized hash considered insecure when containing the char 'M'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.