Taurida Journal of Computer Science Theory and Mathematics
RUS  ENG    JOURNALS   PEOPLE   ORGANISATIONS   CONFERENCES   SEMINARS   VIDEO LIBRARY   PACKAGE AMSBIB  
General information
Latest issue
Archive

Search papers
Search references

RSS
Latest issue
Current issues
Archive issues
What is RSS



Taurida Journal of Computer Science Theory and Mathematics:
Year:
Volume:
Issue:
Page:
Find






Personal entry:
Login:
Password:
Save password
Enter
Forgotten password?
Register


Taurida Journal of Computer Science Theory and Mathematics, 2018, Issue 3, Pages 93–103 (Mi tvim54)  

Blockchain wallet address calculation using iOS Swift 4

Yu. P. Moskaleva, Z. S. Seidametova

Crimean Engineering and Pedagogical University
Abstract: Blockchain technology implemented using digital currencies such as bitcoin. Bitcoin is an online virtual cryptographic currency based on public key that is represented by communication protocol. Bitcoin was proposed in 2008 by an anonymous group of developers named as Satoshi Nakamoto. Bitcoin became functional and widely using as a cryptocurrency allowing conversion with traditional currencies. Today bitcoin is used where needed "hot payment" scenarios (in the scale of minutes).

Bitcoin is a virtual cryptographic currency based on accounts. It is not correct to consider bitcoins as digital tokens. Bitcoin is represented as a balance in a bitcoin account defined by an Elliptic Curve Cryptography key pair. In the paper the Elliptic Curve is $y^2=x^3+7$ in the prime field $F_p$, where $p = 2^{256}-2^{32}-2^9-2^8-2^7-2^6-2^4-1$. The public key is the point on the elliptic curve $(X[32], Y[32])$, where $X[32]$ is the $X$ coordinate, occupying 32 bytes; $Y[32]$ is the $Y$ coordinate, occupying 32 bytes; $0 \times 04$ is the marker of the uncompressed public key representation. Markers $0\times 02$, $0\times 03$ are used to indicate the sign.

In this paper, using the basic cryptography libraries and the tools of the programming language Swift 4 we presented the problem of the forming the Blockchain Wallet Address.

The analog of the categories of classical iOS programming language Objective C is the technique of extensions in the modern programming language Swift. Extensions add new functionality to existing types of classes, structures, enumerations and even protocols. The most used scope of extensions is the addition of calculated data type properties.

The extension method adds methods to support bitcoin transformations.

To ensure the algorithmic solution of the problem of obtaining the Address we used methods of classical cryptography. It is considered the problem of connecting the CommonCrypto cryptographic library wired in iOS with Swift.
Keywords: NFC, NDEF, secp256k1 public key, Bitcoin Address, Swift, cryptocurrency, blockchain wallet address.
Document Type: Article
UDC: 004.056 : 510.51
MSC: 68P25, 94A60
Language: Russian
Citation: Yu. P. Moskaleva, Z. S. Seidametova, “Blockchain wallet address calculation using iOS Swift 4”, Taurida Journal of Computer Science Theory and Mathematics, 2018, no. 3, 93–103
Citation in format AMSBIB
\Bibitem{MosSei18}
\by Yu. P. Moskaleva, Z.~S.~Seidametova
\paper Blockchain wallet address calculation using iOS Swift 4
\jour Taurida Journal of Computer Science Theory and Mathematics
\yr 2018
\issue 3
\pages 93--103
\mathnet{http://mi.mathnet.ru/tvim54}
Linking options:
  • https://www.mathnet.ru/eng/tvim54
  • https://www.mathnet.ru/eng/tvim/y2018/i3/p93
  • Citing articles in Google Scholar: Russian citations, English citations
    Related articles in Google Scholar: Russian articles, English articles
    Taurida Journal of Computer Science Theory and Mathematics
    Statistics & downloads:
    Abstract page:339
    Full-text PDF :574
     
      Contact us:
     Terms of Use  Registration to the website  Logotypes © Steklov Mathematical Institute RAS, 2024