Closed RBabb closed 6 years ago
respectively it works from MAC encrypt to PC decrypt but not PC encrypt to mac decrypt
What error are you receiving? Do you have an example of the output?
I am getting null output. And an error of unknown header. The salt (password) is the same. The only thing I think could be the issue is the ivlength.
On Wed, Dec 13, 2017 at 18:53 Rob Napier notifications@github.com wrote:
What error are you receiving? Do you have an example of the output?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RNCryptor/RNCryptor/issues/263#issuecomment-351563279, or mute the thread https://github.com/notifications/unsubscribe-auth/AE15dmsST-URxxpgZrm94Z3Tmx9sBfg4ks5tAGNsgaJpZM4Q-PaE .
-- Regards, Bob Babb National Solutions Integration Manager Web & Multichannel Marketing Solutions & Analytics Konica Minolta Business Solutions U.S.A., Inc. Office: (215) 293-1428 <javascript:void(0);> Mobile: (470) 779-2200 <javascript:void(0);> Twitter: @rbabb_kmbs http://twitter.com/rbabb_kmbs Visit us: Count on Konica Minolta http://www.countonkonicaminolta.com/ http://www.facebook.com/konicaminoltaus http://www.twitter.com/konicaminoltaus https://plus.google.com/u/0/101069343240482341568/about http://www.linkedin.com/companies/4830 http://www.youtube.com/user/konicaminoltaus http://www.pinterest.com/konicaminoltaus Disclaimer http://kmbs.konicaminolta.us/signature/KMBSUS-Disclaimer%20.png
"Unknown header" means that the data you're passing isn't in RNCryptor format. That usually means it's encoded somehow (like Base64). The first byte of the data you're passing to decrypt
should be 03.
Found the issue.... It was in the RnCryptor-cs the default schema was version 2 changed private Schema defaultSchemaVersion = Schema.V2; to private Schema defaultSchemaVersion = Schema.V3; and all is well. Thanks.
I have a string that I encrypted using RNCryptor-cs and trying to decrypt it on mac osx using RNCryptor decrypt but not having much luck. swift:
C#
Are they not compatible? Any suggestions how I can make it work? Or maybe I'm just having a bald moment. Any direction would be appreciated. Thank you.