change rand function
Merge branch 'master' of github.com:AlphaTr/randpsw