Adding default security key calculation