Apple is about to unveil CryptoKit, a Swift API that performs basic cryptographic functions on its new iOS 13 software release. The surprise announcement came in a Worldwide Developers Conference held by the tech giant.
As reported by Apple, this new framework will incorporate options for hashing, key generation, key exchange, and encryption for iOS developers on iOS apps. This unique and highly anticipated framework will replace the previous framework of Apple, which is the CommonCrypto. The old framework doesn’t support Swift and its one of the reasons most people can’t wait for the new framework to be released.
CryptoKit will let developers circumvent lower-level interfaces by freeing them from handling raw pointers and by overwriting sensitive information/data during memory deallocation automatically, as reported the company. Data in transit or at rest can now be encrypted.
The basic key operations will contain comparing and computing cryptographically secure digests, using public-key cryptography to evaluate and create digital signatures, and finally creating symmetric keys for message encryption and authentication.
One thing people should note is that the about to be released framework contains more hash functionality, such as support for SHA256, it won’t support the secp256k1 curve currently used by Ethereum and some other Blockchains. This implies that CryptoKit has restricted implications for crypto currencies at this point in time but crypto enthusiasts are not still positive about it. The other set of crypto fans are clearly pessimistic about the entire thing.
“YOUR IPHONE WILL NOT BE A HARDWARE WALLET,” as spoken by a programmer called Ronald Mannak on Twitter.
The documentation suggests the SE still only supports the secp256r1 (aka prime256) curve, not the secp256k1 curve used by Ethereum and other blockchains. Unless that changes in a future hardware upgrade, YOUR IPHONE WILL NOT BE A HARDWARE WALLET. @ronaldmannak
— Ronald Mannak, June 4, 2019
One of the co founders at Zengo, also agreed with the above tweet.
“For now [CryptoKit] is pretty much useless for cryptocurrencies because, one, it does not use the relevant elliptic curves for blockchains, and two, there is no access to the secure enclave to export and migrate private keys if you need to,” Ohayon said.
Ohayon further stated on a positive note that;
“I do anticipate [Apple] to go that route a few years from now and it will make the industry a lot better.”