added encrypt/decrypt but doesn't work