I don't know if this works for trillian - but personally, I would prevent that kind of password-swapping by using something computer-specific in the enoding of the password, like the date the file was made or something.