Make encrypt/decrypt public