adding wallet encrypt(), decrypt() methods