Pike v8.0 release 1738

Module Crypto

Description

Various cryptographic classes and functions.

Hash functions These are based on the Hash API; MD2, MD4, MD5, SHA1, SHA256.

Stream cipher functions These are based on the Cipher API; AES, Arcfour, Blowfish, CAST, DES, DES3, IDEA, Serpent, Twofish. The Substitution program is compatible with the CipherState. Also conforming to the API are the helper modules Buffer, CBC, GCM and Pipe.

As the cryptographic services offered from this module isn't necessarily used for security applications, none of the strings input or output are marked as secure. This is up to the caller.

Note

This module is only available if Pike has been compiled with Nettle enabled (this is the default).


Variable Buffer

__deprecated__ program Crypto.Buffer

Description

This class has moved to submodules of the respective ciphers.