discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementation of CommonCrypto?


From: Amr Aboelela
Subject: Re: Implementation of CommonCrypto?
Date: Fri, 10 Jun 2016 22:46:23 -0700

Hi Nik
Yes I should have used NSUTF8StringEncoding 
I just found the root of the problem though:

CommonCrypto_for_GNUstep/Source/AESedp$ vim AESAssembly.h 

Change:

// Select which implementation to use.
#if 1
        #define UseAESedp_IntelAssembly
#else
        #define UseAESedp_GeneralC
#endif

To:

// Select which implementation to use.
#if 0
        #define UseAESedp_IntelAssembly
#else
        #define UseAESedp_GeneralC
#endif

On Jun 9, 2016, at 11:13 PM, H. Nikolaus Schaller <hns@goldelico.com> wrote:


Am 10.06.2016 um 03:44 schrieb Amr Aboelela <amraboelela@gmail.com>:

    NSString *encryptedString = [[NSString alloc] initWithData:encryptedData encoding:NSASCIIStringEncoding];


Are you sure that encryptedData contains ASCII characters only?

-- hns


reply via email to

[Prev in Thread] Current Thread [Next in Thread]