Created Crypto interfaces and default implementations.