crypt module
crypt, substitute, transpose library calls compatibility