Added basic (en/de)cryption functions