Derive secret into encryption and signin keys.