Add type hints for values that must be SecureRandom