Crypt::...ignature(3)
π NAME π
okay so bestie, Crypt::DSA::Signature is literally a DSA signature object. that's the whole vibe. this is Crypt::...ignature(3) β yes, section 3 of the User Contributed Perl Documentation, we love a perl manpage moment π
β¨ SYNOPSIS β¨
look at this, it's so clean it's giving main character energy:
use Crypt::DSA::Signature;
my $sig = Crypt::DSA::Signature->new;
$sig->r($r);
$sig->s($s);
π¦ DESCRIPTION π¦
so Crypt::DSA::Signature represents a DSA signature. and the way that it works?? it has exactly 2 methods, r and s, which are the big number representations of the 2 pieces of the DSA signature. two little numbers, one whole signature. iconic. periodt π
πΈ USAGE πΈ
π Crypt::DSA::Signature->new( %options )
creates a brand new signature object for u, and optionally initializes it with the info from %options π«Ά which can contain:
Contentβ an ASN.1-encoded string representing the DSA signature. in ASN.1 notation, this looks like:
SEQUENCE {
r INTEGER,
s INTEGER
}
if Content is provided, new will automatically call the deserialize method to parse the content, and set the r and s methods on the resulting Crypt::DSA::Signature object. so it does the work for u, no cap π
β $sig->serialize
serializes the signature object $sig into the format described above: an ASN.1-encoded representation of the signature, using the ASN.1 syntax above. it's giving reverse uno card π₯
π AUTHOR & COPYRIGHTS π
bestie please go see the Crypt::DSA manpage for author, copyright, and license information π that's where all the legal fairy dust lives π§
and that's a wrap, gorgeous β¨ this lil page isperl v5.42.2, dated2026-07-03β slay, go sign something ππ
π¦ where this page comes from
- fedora 43: perl-Crypt-DSA 1.22-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-Crypt-DSA 1.22-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms