Easy inclusion of OpenSSL into iOS projects
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
5款可以將錄屏轉換成動圖的錄屏轉GIF軟件工具介紹
噓噓者
2024-05-24 12:56:36
噱頭還是風口?剖析AI短劇出海的未來
原創
2024-05-24 11:48:13
同樣的APP爲何在Android 8以後網絡感覺變卡?
原創
2024-05-23 23:57:27
在一次滲透中學會編寫Tamper腳本
原創
2024-05-22 11:16:41
「實用推薦」如何爲桌面 & 移動跨平臺應用選擇UI框架/APP架構?
原創
2024-05-21 12:19:30
記一次有點抽象的滲透經歷
原創
2024-05-17 23:16:30
Java實現抓取在線視頻並提取視頻語音爲文本
原創
2024-05-22 11:56:46
淺析MySQL 8.0直方圖原理
原創
2024-05-27 10:58:41
一文了解npm install -g和npm install --save-dev的關係
原創
2024-05-21 22:59:29
CaffeineCache Api介紹以及與Guava Cache性能對比| 京東物流技術團隊
原創
2024-05-17 23:56:43
通義千問 2.5 “客串” ChatGPT4,你分的清嗎?
原創
2024-05-16 21:13:41
go-kit學習指南 - 中間件
原創
2024-05-14 12:17:31
go-kit學習指南 - 基礎概念和架構
原創
2024-05-14 12:17:28
spring源碼閱讀之bean加載過程(一)
原創
2024-05-27 23:55:57
Oddly, iOS doesn’t provide any OpenSSL implementation at all — If you want to do anything with crypto (like checking signatures, checksumming, etc.), you have to build in the library yourself.
I came across a great XCode project wrapper for OpenSSL yesterday, by Stephen Lombardo. This is an XCode project file that contains a target to build OpenSSL from source, and works with both Mac and iOS projects. I made some modifications to it, in order to make it work by just dropping in the OpenSSL source tarball, without having to dirty up your source tree with the extracted OpenSSL distribution.
Here’s how to use it:
Library/openssl
within my project tree).On the Build tab for your project’s target, find the “Header Search Paths” option, and add the path:
(Assuming you’ve put openssl.xcodeproj at the path
Library/openssl
— adjust as necessary).Then, you can just import and use as normal (
#import <openssl/dsa.h>
, etc).Download it here