Pretty much any salted food will stay preserved if kept cool and dry. That’s why salt was so prized in the good old days.
A big “duh” and go learn about history.