crypt

Version: stable

FUNCTION
crypt.hash_sha1()
crypt.hash_sha256()
crypt.hash_sha512()
crypt.hash_md5()
crypt.encode_base64()
crypt.decode_base64()
crypt.encrypt_xtea()
crypt.decrypt_xtea()

Functions

crypt.hash_sha1()

crypt.hash_sha1(buffer)

PARAMETERS

buffer string

crypt.hash_sha256()

crypt.hash_sha256(buffer)

PARAMETERS

buffer string

crypt.hash_sha512()

crypt.hash_sha512(buffer)

PARAMETERS

buffer string

crypt.hash_md5()

crypt.hash_md5(buffer)

PARAMETERS

buffer string

crypt.encode_base64()

crypt.encode_base64(input)

PARAMETERS

input string

crypt.decode_base64()

crypt.decode_base64(input)

PARAMETERS

input string

crypt.encrypt_xtea()

crypt.encrypt_xtea(source,key)

PARAMETERS

source string
key string key should be <=16

crypt.decrypt_xtea()

crypt.decrypt_xtea(source,key)

PARAMETERS

source string
key string key should be <=16