Author

Topic: Crypto Coin Swift (Read 1063 times)

newbie
Activity: 11
Merit: 0
July 09, 2014, 02:06:49 PM
#1
Inspired by the highly modular Javascript framework CryptoCoinJS, I spent the past couple of weeks building a similar framework in Swift (the new Apple language). I wanted to see how far I can push that language without importing C libraries like OpenSSL or math. I really like how you can define your own operators and just write Q = d * P to multiply a point on an elliptic curve, a notation more similar to the research publications that they're based on.

Currently it can only generate a private key and derive the address from it. It's not very fast either: my Macbook Pro can calculate an address in about 12 seconds. And of course the crypto requires further scrutiny.

Here it is: https://github.com/CryptoCoinSwift/CryptoCoinFramework
Jump to: