Why? #982
-
Why not just use CommonCrypto from Swift? What's the reasoning behind creating this project? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Because I can. At first I played with OpenSSL and CommonCrypto, then I moved to pure Swift implementation, partly for fun, partly because I'm about to implement things that are not available in CommonCrypto. I'm touched that you compared this not to OpenSSL ;) |
Beta Was this translation helpful? Give feedback.
-
👍 Cool. "Because I can" is a great answer. :) It might be worth writing a section in the Readme addressing/expanding on the "why" of this library so people who don't see this issue also get that context :) |
Beta Was this translation helpful? Give feedback.
-
@schwa @krzyzanowskim Also, because adding CommonCrypto to a Swift framework (not app) is broken. See http://stackoverflow.com/questions/25248598/importing-commoncrypto-in-a-swift-framework. |
Beta Was this translation helpful? Give feedback.
-
Thanks for putting this library together. Love #pureswift. Keep the good work! |
Beta Was this translation helpful? Give feedback.
-
Very much appreciated! Using "native" libraries invalidates the security benefits of a safe lingo... |
Beta Was this translation helpful? Give feedback.
-
@hpique I think it works now https://github.com/onmyway133/CommonCrypto.swift |
Beta Was this translation helpful? Give feedback.
Because I can.
At first I played with OpenSSL and CommonCrypto, then I moved to pure Swift implementation, partly for fun, partly because I'm about to implement things that are not available in CommonCrypto.
I'm touched that you compared this not to OpenSSL ;)
Cheers.