Math and Computation

Encryption

Downloadcambridge_encode(str)   Returns the given string with the central letters of each word scrambled and the first and last letters of each word left in place. Downloadrc4(str,key)   Returns the given string encrypted/decrypted with the given key using the RC4 algorithm. Downloadrot13(str)   Returns the given text encrypted/decrypted with the rot13 algorithm. Downloadvigenere_cipher(in,key,mode)   Returns a copy of string in deciphered or enciphered with using string key. This cipher is designed to work with text and binary data. Downloadvigenere_ascii(in,key,mode)   Returns a copy of string in deciphered or enciphered with using string key. This cipher is meant to work with printable ASCII characters only.

Message Digest

Downloadcrc16(str,mode)   Returns a CRC16-CCITT hash value for the given string. Downloadmd2(str)   Returns an MD2 hash (RFC 1319) for the given string. Downloadmd5(str)   Returns an MD5 hash (RFC 1321) for the given string. Downloadstring_soundex(str)   Returns the Soundex value of the given string.

Comments? Click to Comment