Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (11 sloc) 367 Bytes
#!/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');
$sasl->user('gbarr');
$initial = $sasl->initial;
$mech = $sasl->name;
print "$mech;", unpack("H*",$initial),";\n";
print unpack "H*", $sasl->challenge('xyz');
print "\n";
Something went wrong with that request. Please try again.