Add createSecretKeyFactory