GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NULL(3) User Contributed Perl Documentation NULL(3)

Crypt::NULL - NULL Encryption Algorithm

use Crypt::NULL;

$cipher = Crypt::NULL->new($key);

$ciphertext = $cipher->encrypt($plaintext);

$plaintext = $cipher->decrypt($ciphertext);

The NULL Encryption Algorithm is a symmetric block cipher described in RFC 2410 by Rob Glenn and Stephen Kent.

This module implements NULL encryption. It supports the Crypt::CBC interface, with the following functions.

blocksize
Returns the size (in bytes) of the block (16, in this case).
keysize
Returns the size (in bytes) of the key (16, in this case).
new($key)
This creates a new Crypt::NULL object with the specified key.
encrypt($data)
Encrypts blocksize() bytes of $data and returns the corresponding ciphertext.
decrypt($data)
Decrypts blocksize() bytes of $data and returns the corresponding plaintext.

Crypt::CBC, Crypt::TEA, Crypt::Twofish

Abhijit Menon-Sen <ams@wiw.org>

Copyright 2001 Abhijit Menon-Sen. All rights reserved.

This software is distributed under the terms of the Artistic License <URL:http://ams.wiw.org/code/artistic.txt>.

2001-05-04 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.