Change by David Wood :
Removed file: https://bugs.python.org/file49861/crypt.tar.gz
___
Python tracker
<https://bugs.python.org/issue43435>
___
___
Python-bugs-list m
David Wood added the comment:
Christian/Eric -
Thank you both so much for taking time on this. Christian had pointed out the
use of memcpy vs strncpy. It turns out that while strncpy is designed to copy
a specific number of chars, it turns out that it stops on null. I did make the
Change by David Wood :
Removed file: https://bugs.python.org/file49862/crypt.tar.gz
___
Python tracker
<https://bugs.python.org/issue43435>
___
___
Python-bugs-list m
David Wood added the comment:
Attached are the basic files. As you can see in the example test9.py, I am
generating a random string, encrypting it, decrypting it, and comparing the
decrypted result with the original value.
This is intended to run on linux and requires the mcrypt library
Change by David Wood :
Added file: https://bugs.python.org/file49862/crypt.tar.gz
___
Python tracker
<https://bugs.python.org/issue43435>
___
___
Python-bugs-list mailin
David Wood added the comment:
Still no bueno.
--
___
Python tracker
<https://bugs.python.org/issue43435>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Wood added the comment:
Christian -
Thank you for this. I did as you suggested however, I still have the same
problem. As I pointed out in my original message, the problem does not exist
if I insert a sleep(1) statement prior to returning from the function.
Additional to that, I
David Wood added the comment:
I have not gone to the extent of comparing the direct output against what
python gets, although it appears to be incomplete. The following is my encrypt
function which has been used successfully for many years in a separate c
program, so I have high confidence
New submission from David Wood :
I have a c function to encrypt values which returns an array of bytes. The
function returns proper values outside of python. When used as a python
function, the result is incomplete usually 10-20% of the time. If I add a
sleep(1) call before returning from