TT points to Chullin 139b (verified).
Category A — Formal traditional Middah
Traditional list: Rabbi Eliezer ben Rabbi Yose HaGelili's 32 Middos of interpretation.
Middah #29 — Gematria (גימטריא). The numerical value of the letters in בְּשַׁגַּם is 345: בּ=2, שׁ=300, גּ=3, ם=40. This equals מֹשֶׁה: מ=40, ש=300, ה=5, also 345.
Textual trigger: Genesis 6:3, “בְּשַׁגַּם הוּא בָשָׂר.” Chullin 139b asks where Moshe is alluded to in the Torah and answers בְּשַׁגַּם, because בשגם and משה have the same numerical value.
This is an explicit application of Rabbi Eliezer's traditional Middah #29, Gematria; the operative word and its numerical equivalent are identified above.