Skip to content

Instantly share code, notes, and snippets.

@caldwbr
caldwbr / Extensions.swift
Created January 28, 2018 05:36
encryption
extension Data {
func encryptIt() -> Data {
let data = self
let encryptor = RNCryptor.EncryptorV3(encryptionKey: encryptKey!, hmacKey: hmacKey!)
return encryptor.encrypt(data: data as Data)
}
func decryptIt() -> Data {
do {
@caldwbr
caldwbr / FirebaseUIHelp.txt
Created September 24, 2016 20:56
Help for Installing FirebaseUI Drop-In Authentication System with Swift 3
*******AppDelegate.swift *******
//
// AppDelegate.swift
// Bizzy Books
//
// Created by Brad Caldwell on 9/23/16.
// Copyright © 2016 Caldwell Contracting LLC. All rights reserved.
//