Replace Mycrypt library with a new modern encryption mechanism