1

I am current working on 'sentimental'. However, I am having trouble finding the equivalent function of crypt used with "crypt.h" in C?

I already have an algorithm for enumerating all possible combinations of letters, but, I have no hashing function of use in python?

I've googled this, yes, but for some reason I'm not finding it! Is there a way to do it with local help?

I can find various ways to encrypt stuff, but I can't seem to find an equivalent to C's DES stuff.

0

Import the Python crypt library using this line of code

from crypt import crypt

Usage is the pretty much the same as you would in C -- crypt(word, salt). Sorry for the late answer, happy coding!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .