Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.16
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (11 sloc) 0.367 kb
#!/usr/bin/env perl
# short script to check compatability with previous Authen::SASL library
use lib 'lib';
use Authen::SASL;
my $sasl = Authen::SASL->new('CRAM-MD5', password => 'fred');
$initial = $sasl->initial;
$mech = $sasl->name;
print "$mech;", unpack("H*",$initial),";\n";
print unpack "H*", $sasl->challenge('xyz');
print "\n";
Jump to Line
Something went wrong with that request. Please try again.