Flint is a common name for a form of sedimentary rock called
chert, formed from microscopic siliceous (essentially quartz)
skeletons of radiolarians. As such the hardness of chert is 7,
which is slighly harder than glass and considerably harder than
steel. If it will scratch glass it is likely to be flint. Flint is
often mistaken for limestone or marble, which is much softer and
will not scratch glass.