NAME

Net::IPMessenger::Encrypt - Encryption support for Net::IPMessenger

DESCRIPTION

Encryption support for Net::IPMessenger.

METHODS

new

The new method checks if the modules which needs for encryption are installed. If those modules are not installed, this returns undef.

option

This returns Net::IPMessenger::EncryptOption object.

generate_keys

This generates RSA public/private keys and store it.

public_key_string

format public_key for ANSPUBKEY option field and return it.

encrypt_message

Encrypt message.

decrypt_message

Decrypt message.