removed the side effects from crypt.py

Method named get~,  it should not involving side effects.