libb.kryptophy

kryptophy(blah)[source]

Converts a string to an integer by concatenating hex values of characters.

Parameters:

blah (str) – String to convert.

Returns:

Integer representation of the string.

Return type:

int

Example:

>>> kryptophy('AB')
16706
>>> kryptophy('hello')
448378203247