• This repository has been archived on 13/Sep/2021
  • Stars
    star
    134
  • Rank 270,967 (Top 6 %)
  • Language
    Objective-C
  • License
    Other
  • Created almost 12 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Security Modules for Titanium Mobile

Version 3X and able contains breaking changes

On android version 3x or greater contains breaking changes to the encrypt and decrypt functions. Please use the pre-3-changes if you need the older logic

Bencoding.Securely

Securely provides building blocks to create secure Titanium apps.

The following proxy objects allow for you to build a composible cross-platform security layer to meet your various security requirements.

Important grade information

If you are using securely in your application now, there are breaking changes in version 2.x. These changes will be put in place to improve your default security.

Examples of the new Secure Properties storageType and securityLevel functionality are available here.

The documentation will be updated when there is an opportunity. If you'd like to contribute please send a PR with the update.

Before you start

* These are iOS and Android native modules designed to work with Titanium SDK 5.1.0.GA and later. * Before using this module you first need to install the package. If you need instructions on how to install a 3rd party module please read this installation guide.

Download the compiled release

Download the platform you wish to use:

Building from source?

If you are building from source you will need to do the following:

Import the project into Xcode:

  • Modify the titanium.xcconfig file with the path to your Titanium installation

Import the project into Eclipse:

  • Update the .classpath
  • Update the build properties

Setup

  • Download the latest release from the releases folder ( or you can build it yourself )
  • Install the bencoding.securely module. If you need help here is a "How To" guide.
  • You can now use the module via the commonJS require method, example shown below.

var securely = require('bencoding.securely');

Creating the Securely Module Object

Requiring the module into your project


//Require the securely module into your project
var securely = require('bencoding.securely');

Secure Properties

The Securely Properties module is used to store values in the KeyChain using the same API as Titanium.App.Properties.

To learn more about this part of the module, please view the documentation here.


Key Generators

Securely provides the ability to generator random and derived keys. These key generators allow you to generate strong passwords for your encryption functions.

To learn more about this part of the module, please view the documentation here.


String Crypto

Securely provides the ability to encrypt and decrypt JavaScript strings and JSON objects through a variety of algorithms.

To learn more about this part of the module, please view the documentation here.


File Crypto

Securely provides the ability to encrypt and decrypt local device files.

To learn more about this part of the module, please view the documentation here.


iOS PDF Locker

On iOS Securely provides the ability to password protect and unlock PDF documents.

To learn more about this part of the module, please view the documentation here.


Dependent Projects

Securely uses several wonderful open source projects. I highly encourage you to check them out using the information below.

JSONKit

Project: http://github.com/johnezang/JSONKit

sskeychain

Project: [https://github.com/soffes/sskeychain)

Licensing & Support

This project is licensed under the OSI approved Apache Public License (version 2). For details please see the license associated with each project.

Developed by Ben Bahrenburg available on twitter @bencoding

Learn More

Examples

Please check the module's example folder or [github repo](https://github.com/benbahrenburg/Securely/tree/master/iOS/example) for samples on how to use this project.

Twitter

Please consider following the @bencoding Twitter for updates and more about Titanium.

Blog

For module updates, Titanium tutorials and more please check out my blog at bencoding.Com.

More Repositories

1

Ti.BlurView

A Blur View implementation for Titanium
Objective-C
161
star
2

Ti.GA

Google Analytics Native SDK modules for Titanium
Objective-C
112
star
3

awesome-calendars

A list of awesome calendar components
100
star
4

benCoding.AlarmManager

Titanium Module for working with the Android AlarmManager
Java
98
star
5

Ti.SQ

Titanium native module allowing you to use Square's TimeSquare date picker in your Titanium iOS & Android app
Java
88
star
6

LocalNotify

Extends & provides helpers for Titanium Mobile's LocalNotifications
Objective-C
75
star
7

benCoding.BasicGeo

Titanium Geo Location Module
Objective-C
75
star
8

Utterance

Utterance lets you use the platform's native Text To Speech Engine within your Titanium Project
Java
71
star
9

benCoding.Android.Tools

A collection of utilities designed to make working with Titanium on Android alittle easier.
Java
60
star
10

Ti.Wormhole

Enabling Titanium style events between your Titanium iOS app and iOS Extensions & the Apple Watch
Objective-C
50
star
11

ti.mely

Ti.mely Native Timers for Titanium Mobile
Makefile
49
star
12

Ti.SevenSwitch

iOS 7 switch for Titanium
Objective-C
42
star
13

benCoding.Map

Titanium Map View Module with Polygon Support
JavaScript
40
star
14

benCoding.iOS.Tools

Tools to make working with Titanium on iOS even easier.
Objective-C
39
star
15

Ti.Geo.Background

Titanium Background Geo Location
JavaScript
37
star
16

TiNetworkHelpers

Titanium Module with additional network functionality
Python
35
star
17

bARk

Titanium Augmented Reality Sample App
JavaScript
34
star
18

Ti.JBChart

Titanium wrapper for JBChartView
Objective-C
30
star
19

benCoding.SMS

SMS Dialog Module for Titanium Mobile
Objective-C
29
star
20

Atlas

Location Library For Titanium Mobile
JavaScript
29
star
21

TiTaffyDb

Example project for a Titanium port of TaffyDb
JavaScript
28
star
22

benCoding.PDF

Titanium module to make working with PDFs easier
Python
26
star
23

Ti.CoreMotion

Surfacing a few CoreMotion components to Titanium Mobile
Python
24
star
24

Ti.Queue

Queueing in Titanium made easy - CommonJS module
JavaScript
22
star
25

Ti.GeoVisits

Titanium access to CoreLocation's visit event
Objective-C
21
star
26

Ti.iSpeech

iSpeech.org module for Titanium mobile
Objective-C
19
star
27

Soup

CommonJS formated Geo Search Providers for Appcelerator Titanium
JavaScript
16
star
28

Ti.Geocoder

Native Geocoders for Titanium mobile
Java
16
star
29

benCoding.Stepper

Titanium Stepper Control Module
Python
15
star
30

Ti.Passcode

Cross-platform passcode implementation for Titanium mobile
JavaScript
14
star
31

Ti.Light

Titanium Flashlight example module
Python
14
star
32

SentimentlySwift

Sentiment Analysis Swift Playground
Swift
13
star
33

Ti.SpeechKit

Titanium module to allow access to SpeechKit by Naunce
Objective-C
13
star
34

SpinningImageView-Example

Example on how to create a spinning UIImageView using Swift
Swift
12
star
35

Ti.Safari.ReadingList

Titanium module to add items to the Safari Reading List
Python
12
star
36

TiGroupon

JavaScript
10
star
37

Ti.OneTok

Titanium Modules for Ti.OneTok
Objective-C
9
star
38

benCoding.QuickLook

Titanium Module for iOS QuickLook
Objective-C
9
star
39

Ti-Google-Play-Services

Shell
8
star
40

benCoding.Dictionary

Titanium Dictionary Module for iOS5+
Objective-C
8
star
41

Ti.SlowAES

Titanium CommonJS module for using SlowAES
JavaScript
8
star
42

Ti.WebWorkerWrapper

Web Worker Wrapper for Titanium
JavaScript
8
star
43

Ti.HUD.js

Titanium Cross-platform HUD / Progress Indicator Examples
JavaScript
7
star
44

Dossier

Makes moving and copying Titanium Directories easy
JavaScript
7
star
45

TiColorPickerExample

Color Picker Example
JavaScript
7
star
46

Ti.Geocoder.Offline

Offline Geocoder for Titanium
Objective-C
7
star
47

Zipper

Titanium Mobile Zip File Utility
C
6
star
48

KeyStorage

KeyStorage is a simple secure key persistance library written in Swift.
Swift
6
star
49

PDFUtilities

PDFUtilities makes working with PDFs in Swift easier.
Shell
6
star
50

Permissions

Permissions checking for Titanium iOS
Python
6
star
51

Ti.Brightness

Screen Brightness helper methods for Titanium iOS
Python
6
star
52

ImageViewTintImage-Example

Example how to tint a UIImageView UIImage
Swift
5
star
53

benCoding.Switch

Titanium module wrapper for DCRoundSwitch
Objective-C
5
star
54

SwiftyBeaver-GA-Exception-Logger

Google Analytics plugin for SwiftyBeaver
Swift
4
star
55

UserProperties

Simplify Swift access to NSUserDefaults
Swift
4
star
56

codefab2011

Appcelerator Presentation For CodeFab 2011
4
star
57

Pinger

Ping Library for Titanium Mobile
Objective-C
2
star
58

Playgrounds

Experiments & blog posts
Swift
2
star
59

Ti.GeoProviders

Geo Providers for Titanium
JavaScript
2
star
60

Ti.Geo.Availability

Availability Checks for Titanium Geo
Makefile
2
star
61

BucketList

Need caching? Focused on security? BucketList makes working with encrypted caching easy. Also supports stand your standard key value caching as well.
Swift
2
star
62

benbahrenburg

1
star
63

Doorman

Ridiculously simple, sampling and control flow for Swift
Swift
1
star
64

Ti.Security.JailBroken

Security module for Titanium iOS. Detect if device is jail broken
Objective-C
1
star
65

GeoJSON-Mix

Just a few geojson files....
1
star
66

Reachify

Simple Network Reachability in Swift
Swift
1
star
67

QnABotMaker

Convenience library for working with Microsoft QnA Maker Service
Swift
1
star
68

Ti.Geo.LocationMonitor

Location Manager Helpers for Titanium
Makefile
1
star
69

Ti.Geo.SignificantChange

Location Significant Change module for Titanium
Makefile
1
star