Base crypt implementation (only methods)