NAME

Lemonldap::Crypto - Perl extension written to implement a little signature mechanism.

SYNOPSIS

  use Lemonldap::Crypto;
  my $cr = new Lemonldap::Crypto (
        key    => 'my key',
        cipher => 'blowfish'
	);
  my $sign = $cr->sign($text);
  ...
  die "Invalid signature" unless ($cr->sign_verify($text,$sign));

See Crypt::CBC for more options.

DESCRIPTION

Lemonldap::Crypto extends Crypt::CBC and adds two subroutine (sign and sign_verify). This mechanism is used by Lemonldap to secure handler/manager channel.

EXPORT

None by default.

SEE ALSO

Crypt::CBC(3)
http://lemonldap.sourceforge.net/

AUTHOR

Xavier Guimard, <x.guimard@free.fr>

COPYRIGHT AND LICENSE

Copyright (C) 2004 by Xavier Guimard

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.