您建議使用什麼Blowfish的Objective-C實現? (或者可能我錯過了一些可用的標準實現?)Blowfish objective-c implementation
8
A
回答
15
請記住Objective-C是C的超集,因此您不需要特定的Objective-C實現。用C寫的河豚(如this page,googling "C blowfish implementation"的第一個結果)將會很好。
6
不知道如果你一定想一起去河豚,但iPhone的安全框架支持下列出的現成的:
- kCCAlgorithmAES128 - 高級加密標準,128位數據塊
- kCCAlgorithmDES - 數據加密標準
- kCCAlgorithm3DES - 三重DES,三個鍵,EDE配置
- kCCAlgorithmCAST - CAST
- kCCAlgorithmRC4 - RC4流密碼
如果你決定實現自己的你可能還需要一個任意的精度整數庫,libtommath將爲iPhone編譯將幾乎沒有變化。
相關問題
- 1. TFIDF:tf implementation
- 2. 在@implementation
- 3. TestCleanup()Implementation
- 4. 在@implementation
- 5. quicksort implementation
- 6. AsyncTask Implementation
- 7. is_member_function_pointer implementation
- 8. Blowfish和Blowfish-compat有什麼區別?
- 9. 在的ObjectiveC
- 10. Java和Javascript Blowfish
- 11. 用blowfish加密
- 12. 48位blowfish
- 13. PHP Blowfish加密
- 14. NumberFormatter - ObjectiveC
- 15. Facebook Like Button Implementation
- 16. MonadBaseControl IO ... StateT Implementation
- 17. Boost named_condition implementation
- 18. Debugging Mergesort Implementation
- 19. Nodejs Modules Implementation
- 20. SVD implementation map reduce
- 21. mod_auth_tkt -java implementation
- 22. FibonacciHeap increase_key implementation
- 23. C#:IComparable implementation private
- 24. node js browserify implementation
- 25. jquery/angular scheduler implementation
- 26. android viewPager implementation
- 27. #react-native - Onesignal implementation
- 28. Blocked CSR SPMV Implementation
- 29. Angular 2 Observables implementation
- 30. Session Override implementation
正是我要說的。當你處理加密時,你正在處理字節,這實際上低於Objective-C的水平(儘管使用NSData作爲包裝)。 – 2009-11-05 15:31:43
謝謝你的回答。這就是我的想法,但只是需要看別人的意見 – Vladimir 2009-11-05 15:57:43
我注意到,下面提到的安全框架現在支持Blowfish。還沒有自己嘗試過,但似乎它可能是一個更好的方式去消耗功率。 – vlad259 2015-02-27 15:48:31