Potential leak removed.
Encrypt/decrypt now works.