Algorithm::IRCSRP2 - IRC channel encryption algorithm
version 0.501
Algorithm::IRCSRP2 implements the IRCSRP version 2 algorithm as specified in http://www.bjrn.se/ircsrp/ircsrp.2.0.txt.
From the specification:
IRCSRP is based on the SRP-6 protocol [3] for password-authenticated key agreement. While SRP was originally designed for establishing a secure, authenticated channel between a user and a host, it can be adapted for group communcations, as described in this document.
See https://gitorious.org/ircsrp/ircsrp for a working version used in Pidgin.
Only Alice is implemented (initial Dave started)
am_i_dave (ro, Bool) - Child class will set this.
cbc_blocksize (ro, Int) - CBC blocksize. Defaults to '16'.
debug_cb (rw, CodeRef) - Debug callback. Defaults to print()
print()
error (rw, Str) - If set, there was an error.
nickname (rw, Str) - Child class will set this. Defaults to 'unknown'.
init() - Setup object for key exchange.
encrypt_message($msg, $who) - Returns encrypted message with plaintext $msg from nickname $who.
$msg
$who
decrypt_message($msg) - Returns decrypted text from encrypted $msg. die()s on errors.
die()
http://www.bjrn.se/ircsrp/
Adam Flott <adam@npjh.com>
This software is copyright (c) 2011 by Adam Flott.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Algorithm::IRCSRP2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::IRCSRP2
CPAN shell
perl -MCPAN -e shell install Algorithm::IRCSRP2
For more information on module installation, please visit the detailed CPAN module installation guide.