Hi Guys,
I've gotten the boss to give permission to release a module that takes
care of the details of encrypting a hash into a signed, BASE64 encoded
ticket that can be sent as a cookie or used inside a URL etc:
use ISUC;
$isuc = new ISUC("BlockCipher passphrase", "MAC passphrase");
$encoded = $isuc->encode({ key1 => "value1", key2 => "value2" });
$hashref = $isuc->decode($encoded) or die "Corrupt ISUC ticket";
Our in-house name has been ISUC.pm ("internet simple URL cipher") which is
clearly suboptimal.
Question #1: Is there an already-extant module of this type that I should
be using (or contributing to) instead?
Question #2: Assuming this module might be of use to someone else, where
should it live in the CPAN namespace?
TIA,
--
-m PGP fingerprint 87AD A49F E2AF 6243 DDA4 0BEC EA3A FDF8 1A0D B81A
finger for key