add generate idBytes by password + userName function