BTSync secret is base64-encoded set of bytes, so if you will try to encode your self-generated secret you will see the "real" secret being used by BTSync as private key. So, if you want to generate your own secret its much better to base64-encode it before pasting to btsync. As for your key - its len(166) is not a multiple of 4 and two last characters are ignored.