I have a situation where I want to create a signature of a data structure:
my $signature = ds_to_sig(
{ foo => 'bar',
baz => 'bundy',
boing => undef,
number => 1_234_567,
}
);
The aim should be that if the data structure changes then so should the signature.
Is there an established way to do this?