The actual C API produces the expected results. Unicorn Meta Zoo 9: Everything works great in c. OK, have they agreed on what year, decade or century the 3DES usage will be sunsetted? It is decrypting in my python script as: To generate a key from a password, you need to perform stretching and randomize the process with a salt, which OpenSSL does, although not very well. Sign up or log in Sign up using Google.
Uploader: | Akinozilkree |
Date Added: | 14 April 2015 |
File Size: | 55.52 Mb |
Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
Downloads: | 26889 |
Price: | Free* [*Free Regsitration Required] |
This question appears to be off-topic.
How do we handle problem users? Unless your question is specifically about how the cryptographic algorithm, protocol or side-channel mitigation works, you should look into asking on Stack Overflow instead. It is decrypting in my python script as: I had the key set manually instead of using the key array. A password is not a key: Generally speaking, the openssl command line is more of a demonstration tool than a tool for serious usage.
Unicorn Meta Zoo 9: Hints in comments or answers? I’m using the following Python script, based on this question:.
My question is, how can I use the same Byte Array in Python? Giovanni S Giovanni S 7 7 silver badges 23 23 bronze badges. The users who voted to close gave this specific reason: When trying to pyds a KCV value, I’m using a file consisting of 8 bytes each with value 0.
This is just a test. The encrypted data in my c program is: Active 10 months ago. Can anyone pgdes any insights into why OpenSSL produces a different result?
Stack Overflow works best with JavaScript enabled. Improving the question-asking experience.
Downloading File /pydes//pyDeszip – pyDES – OSDN
I’ve also tried using http: Asked 2 years, 10 months ago. Asked 1 year, 7 months ago. I’m guessing because pyDes is expecting a string instead of an array filled with ints.
The actual C API produces the expected results. I’m using the following Python script, based on this question: By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. Don’t expect things to be secure unless you have a very precise of pydez you’re doing. Sign up using Facebook. This code works fine for me. It’s a programming question, true, but it’s about ppydes cryptographic aspect as opposed to being a debugging question where cryptography is incidental.
Subscribe to RSS
Improving the question-asking experience. Cryptography Stack Exchange works best with JavaScript enabled. Maybe I should try another cryptography package. Unicorn Meta Zoo 9: By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.