Add and implement a crypt interface