This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import CommonCrypto | |
import Security | |
/// Extension for Symmetric Encryption and Decryption with DES, 3DES, AES algorithms | |
extension String { | |
/// Encrypts message with DES algorithm | |
func desEncrypt(key:String) -> String? { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: openjdk:8-jdk | |
variables: | |
ANDROID_COMPILE_SDK: "25" | |
ANDROID_BUILD_TOOLS: "25.0.2" | |
ANDROID_SDK_TOOLS: "25.2.5" | |
before_script: | |
- apt-get --quiet update --yes | |
- apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// HVRequest.swift | |
// Hiveage | |
// | |
// Created by Tharindu on 12/27/15. | |
// Copyright © 2015 Vesess Inc. All rights reserved. | |
// | |
import Foundation | |
import Alamofire |