The following module was proposed for inclusion in the Module List:
modid: Object::Signature::Portable
DSLIP: bmpf2
description: Portable signatures of data structures
userid: RRWO (Robert Rothenberg)
chapterid: 6 (Data_Type_Utilities)
communities:
PrePAN
similar:
Object::Signature
rationale:
Object::Signature uses Storable to serialize objects for generating
a signature, but this is not portable across different versions of
Storable, or versions of Perl on different architectures. (Despite
using Storable's nfreeze, the resulting data, while "thawable" on
different platforms, is not the same on different platforms. And
yes, I've found this out the hard way.)
The intention of this is to generate consistent signatures of data
structures that can be shared across different machines.
Object::Signature::Portable uses canonical JSON, although the
serializer can be configured to use something else.
Object::Signature::Portable also allows the developer to choose
different hashing algorithms and different signature styles (raw
bytes or base-64, as well as the option of prefixing the signature
with the name of the digest algorithm).
enteredby: RRWO (Robert Rothenberg)
enteredon: Wed Dec 4 20:24:07 2013 UTC
The resulting entry would be:
Object::Signature::
::Portable bmpf2 Portable signatures of data structures RRWO
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=40f00000_ab95bfb8a11dab99&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=40f00000_ab95bfb8a11dab99&SUBMIT_pause99_add_mod_insertit=1
Peek at the current permissions:
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=Object%3A%3ASignature%3A%3APortable