16,018,802 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 10907890 (Top 6 by date)
Member 10907890
20-Feb-15 1:26am
View
i mean to develop such like app do i need to learn any other technologies(or tools) like Phonegap,Titanium,Rhodes by Motorola,GoMo Learning?.i have seen moodle ios source code .There he used some HTML related code. i think it is written in phone gap. my question is can develop LMS app with uikit ,quardzcore,corgraphics. or do i need to learn any other technologies(or tools) like Phonegap,Titanium,Rhodes by Motorola,GoMo Learning.
Member 10907890
19-Feb-15 4:48am
View
Learn management system. it is some thing like e-Learnig app
Member 10907890
8-Aug-14 3:45am
View
Please remove my question
Member 10907890
5-Aug-14 4:07am
View
can you give nslog error like reason:
Member 10907890
5-Aug-14 4:01am
View
i used the same code but i am getting out put as IQnSTMrZfHk=
this is the code i used
- (void)viewDidLoad
{
[super viewDidLoad];
key = [[NSBundle mainBundle] pathForResource:@"key"
ofType:@".dat"];
key= [NSString stringWithContentsOfFile:key encoding:NSASCIIStringEncoding error:nil];
;
NSString *encrypted =[self doCipher:@"60266203"];
}
- (NSString*) doCipher:(NSString*)encryptValue {
const void *vplainText;
size_t plainTextBufferSize = [encryptValue length];
vplainText = (const void *) [encryptValue UTF8String];
CCCryptorStatus ccStatus;
uint8_t *bufferPtr = NULL;
size_t bufferPtrSize = 0;
size_t movedBytes = 0;
bufferPtrSize = (plainTextBufferSize + kCCBlockSizeDES) & ~(kCCBlockSizeDES - 1);
bufferPtr = malloc( bufferPtrSize * sizeof(uint8_t));
memset((void *)bufferPtr, 0x0, bufferPtrSize);
Byte iv [] = {0x12, 0x34, 0x56, 0x78, 0x90, 0xab, 0xcd, 0xef};
const void *vkey = (const void *) [key UTF8String];
ccStatus = CCCrypt(kCCEncrypt,
kCCAlgorithmDES,
kCCOptionECBMode,
vkey,
kCCKeySizeDES,
iv,
vplainText,
plainTextBufferSize,
(void *)bufferPtr,
bufferPtrSize,
&movedBytes);
NSData *myData = [NSData dataWithBytes:(const void *)bufferPtr length:(NSUInteger)movedBytes];
NSString *result = [myData base64EncodedStringWithOptions:0];
return result;
}
Member 10907890
5-Aug-14 2:35am
View
here key.dat file is encrypted if read through nsbundle i am getting only first two characters
here is a key using this convert the 60266203 plain text to H6ckSNuLNI6esReMTNEHeQ==
using DES withe ECB mode PKCS5Padding
key:¨Ì sr java.security.KeyRepΩ˘O≥àö•C L algorithmt Ljava/lang/String;[ encodedt [BL formatq ~ L typet Ljava/security/KeyRep$Type;xpt DESur [B¨Û¯T‡ xp «ÜX^§ÕÔt RAW~r java.security.KeyRep$Type xr java.lang.Enum xpt SECRET
Show More