Skip to content

Commit

Permalink
-Update Version
Browse files Browse the repository at this point in the history
  • Loading branch information
reza-khalafi committed Jul 14, 2017
1 parent 6348700 commit cefd576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LaraCrypt.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'LaraCrypt'
s.version = '0.1.2'
s.summary = 'Laravel encryption method for Swift.'
s.summary = 'Laravel encryption and decryption method for Swift.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Language](https://img.shields.io/badge/language-swift-orange.svg)](https://swift.org/)
[![OS Version](https://img.shields.io/badge/made%20with-%3C3-orange.svg)](http://cocoapods.org/pods/LaraCrypt)

This is a function for encrypt data such as Laravel encryption in Swift.
This is a function for encrypt and decrypt data such as Laravel encryption in Swift.

## Requirements

Expand All @@ -26,6 +26,7 @@ pod 'LaraCrypt'

There is a main public function in LaraCrypt calss:<br>
`encrypt` - For use this fucntion you should set two parameters contain base64 key with 44 characters length and your message as a string that you want to be encrypted
`decrypt` - For use this fucntion you should set two parameters contain base64 key with 44 characters length and your encrypted message as a string that you want to be decrypted
```ruby
let key : String = "u6KuXJLIUwEUl7noY8J8H1ffDRwLC/5gjaWW1qTQ3hE="
let message : String = "123456"
Expand Down

0 comments on commit cefd576

Please sign in to comment.