Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
LibXOR
Objective-C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LibXOR.xcodeproj
LibXOR
LibXORTests
LISCENSE
README.md

README.md

LibXOR

A simple implementation of an XOR Cipher using NSString categories

Usage

Download NSString+XOR.h and NSString+XOR.m and put them into your project

import "NSString+XOR.h"

On an instance of NSString:

 [string stringByEncodingWithCipher:CIPHER];

where CIPHER is an NSString.

Ciphers the string by modulating around the cipher's characters

 [string stringByDecodingFromCipher:CIPHER];

where cipher is an NSString

Deciphers the string by modulating around the cipher's characters

Something went wrong with that request. Please try again.