oisems encryption/decryption WIP