Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.

samurai00/aes_pbkdf2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AES_PBKDF2

AES-256-CBC (PKCS7 Padding) with PBKDF2 key for Objective-C and PHP(>=5.5.0)

AES-256-CBC (PKCS7 Padding) C implementation. (pbkdf2 to be added.)

The Objective-C Base64 code is from nicklockwood/Base64

The Main AESCrypt-ObjC code is from Gurpartap/AESCrypt-ObjC

The main rijndael c code is from http://www.efgh.com/software/rijndael.htm

Installation

Objective-C

Add this line to your class:

#import "AESCrypt.h"

Usage

Objective-C

NSString *message = @"the secret message";
NSString *password = @"passworddrowssap";

Encrypting

NSString *encryptedData = [AESCrypt encrypt:message password:password];

Decrypting

NSString *message = [AESCrypt decrypt:encryptedData password:password];

About

AES-256-CBC with PBKDF2 key for Objective-C and PHP(>=5.5.0)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published