Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 518 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 518 Bytes

ESCrypto

Simple crypto manager for your app

Usage

Standart use

  1. Import in project
import ESCrypto
  1. For encrypt your data use
ESCrypto.shared.encrypt(data: Data, cryptoType: ESCryptoType, completion: (Data?, ESCryptoError?) -> Void)
  1. For decrypt your data use
ESCrypto.shared.decrypt(data: Data, cryptoType: ESCryptoType, completion: (Data?, ESCryptoError?) -> Void)
  1. For update crypto key set cryptoKeys property
ESCrypto.shared.cryptoKeys