Hello Coral99
It is a "tameshimei", meaning an inscription that records the results of a cutting test. The one in the picture says
安政二年二月日
於千住二ツ胴落
信盛 (sign)
Ansei 2, February (February 1855)
Cut through two bodies at Senju
(signed) Nobumori (signature)