some fixed bug & added -k option for passphrase input in command line