password cipher fix

Fixes Issue #35