add md5 encrypt support, add toast on non ui thread, fix bugs