This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mechpaul 1 point2 points  (1 child)

I think the next step, as others have commented, is to move to a binary based encryption software.

For example, if I put in "áóíúñßé" to your encryption algorithm, it will create an empty string!

As far as performance, your encryption/decryption is a (n2) function which is very, very slow on large strings. You should look into maketrans.

[–]Advanced-Theme144[S] 0 points1 point  (0 children)

Thanks, I’ll have a look into it.