added crypt service interface