Comments (2)
I was surprised when I saw we couldn’t derive RSA keys.
CryptoKit seems to be following the approach of other modern crypto libraries like NaCl and libSodium: giving you useful and relatively-safe operations without exposing all the knobs and switches of the underlying crypto primitives. That's a good thing because it's not hard to accidentally weaken or destroy security by using the wrong settings. They also don't care so much about interoperability with every other crypto API; they're more of a closed ecosystem that assumes both ends of the connection use the same library, or at least compatible libraries.
Part of this is that they're picky about what algorithms to support. RSA is very widely used, but it's also very old. It requires much larger keys than elliptic curves (like, 2048 bits vs 256 bits), it runs slower, and it's much more likely to be broken by near-future advances like quantum computers. Other than compatibility, there's no reason to choose it over a modern ECC algorithm like Curve25519.
from andyibanez-com.
Hi Andy,
Thanks for sharing.
- For AES-GCM How to generate nonce & tag in Swift so that using same key we can decrypt in any cross platform (.net) as well.
- Is it possible to encrypt plain text using AES-GCM only by key?
Thanks
BM
from andyibanez-com.
Related Issues (20)
- posts/understanding-async-await-in-swift/ HOT 13
- posts/modern-concurrency-in-swift-introduction/ HOT 5
- posts/structured-concurrency-in-swift-using-async-let/ HOT 7
- posts/converting-closure-based-code-into-async-await-in-swift/ HOT 10
- posts/integrating-face-id-touch-id-swiftui/ HOT 5
- posts/introduction-to-unstructured-concurrency-in-swift/ HOT 3
- posts/the-mysterious-codablewithconfiguration-protocol/ HOT 2
- posts/strategies-asking-users-rate-your-app/ HOT 2
- posts/using-asyncsequence-in-swift/ HOT 2
- posts/parametrized-shortcuts/ HOT 1
- posts/modern-swift-concurrency-summary-cheatsheet-thanks/ HOT 1
- posts/speech-recognition-sfspeechrecognizer/ HOT 1
- posts/quick-tip-custom-debug-printing-customdebugstringconvertible-swift/ HOT 1
- posts/modern-concurrency-apple-platforms-now-available/ HOT 3
- posts/mainactor-and-global-actors-in-swift/ HOT 1
- posts/filtering-arrays-nspredicate/ HOT 1
- posts/ten-years-and-over-100-articles-later/ HOT 1
- posts/getting-started-app-store-connect-api/ HOT 5
- posts/a-short-guide-localization-apple-platforms/ HOT 1
- posts/swift-print-in-depth/ HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from andyibanez-com.