add function initialized? for crypt