externalized crypt library