Keys - Prescrypto/RexChain GitHub Wiki

Keys

The use of the RSA algorithm for digital signature generation and verification is specified in American National Standard (ANS) X9.31 and Public Key Cryptography Standard (PKCS) #1.

RexChain uses 2048 bits RSA Keys in PEM format for maintaining the security of us users, complying with the highest accepted cryptographic standards.

Keys File

We will explain how is the format of the "keys" file in version 1.0, released on 27th February 2019. The RexChain-Wallet only will work with this type of file.

File Structure

The file that with RexChain-Wallet works must has the following structure:

# Key Pair Created with Prescrypto In-App Wallet
# Prescrypto Key Pairs Export File V1 27 Feb 2019
# More info in https://github.com/Prescrypto/RexChain/wiki/RexChain-Wallet
# Public key is written in PEM format
# Private key is written in PEM format plus symmetric encrypt with a PIN CODE from 4 digits    

-----BEGIN PUBLIC KEY-----
MIIB1TANBgkqhkiG9w0BAQEFAAOCAcIAMIIBvQKCAbRO3EOtsIGpaPuhlQFjkzgg
q45G7Q8tb/tjKwyoXylsz0wIbjpIWQ9s2KF5x32I8oJlljQL6PRmg32Blye1CaKQ
rXDrbCrzfLK4TzMftOrV3u70PZdbg6H7XSdO/jTvTVWqO8d/McAKDcpl6FPlhaD6
EmtUDQaVGoDbQEletLbd1LwG9DM8tk3HQHQJQH46JVitqu7uUZSjYutk/5vwBboe
nz7nSGY3rT5VfQNY/iNnOQ0EK0QwgEzvVf2i17nHHoxOHINxT/GDIzkNBtu39WCP
B/67XRlL+t2A1Hbkp3DB+mlAyaIm7XDlf0m6v2n4cphTc91D28oLLj9cPkikQs0/
WAWVm19HHjehsa7iuYaiG3ZjMZd2de+3cc9SaQknZvDtMiXBRD81dRfvoJNpQcLK
8VlC7vXIGR4aeZVHwK6OQG/PU82exW0vb7fMRYV93dmilGZdFtHuAVyz1d+kF8PI
xrVLvs/iSU8qJvdKWvrKxWi3eOG2THKUIQ8ch+mYkhy57T43nOaPdFPNbQ89BRmK
GtDizJOYBuRx4unZdIsFmFgtYLi9ZhqLWRc+01TACOJT5iILAgMBAAE=
-----END PUBLIC KEY-----
-----BEGIN ENCRYPTED PRI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uyJ8PsduT0Of/rUN+d2H3OB+sdbzA8zFfLmTl/lsN8nD1/iHN4DCmEt/xv9jxpvvlimcRdizzdxMMkmgJD7841uXz1EqN+9HT9UlwekGrZCZwksws4zJlc2m9hWvgzST6tPOxQJlqI6PzzTrOESsLG8M7LoNzTwvD98L17ULsCRPO5eFFrmQLgNwIp5CdlccolJrlGPzx+ORxIZhpuNKiGXNf4WMoyysg3pzpRRjFyu8kJBTC4iIaSUw7g7E+90AOqjugdbrtXL5gPtgpic4e491uVX8misIAiea+Ot3w9baGimyJoSkLF/2T8SNdQZeOFkMUsSuJicBHqNu4raxVglRTdR2u8cKB+w/kBGUIfymcAtNw4eMK3hIziqae38HiUjOvAmBRN/lkM45LOiMNyfsxbEr7H5q1q3COKTCMZZSQtNBR4rIhBr8l/gcEileI8nNjGL3yvUu1MO6hq3oBdSZcYkuI198RPFRorveSKrzlbGGyw==
-----END ENCRYPTED PRIVATE KEY-----

This file has an extension txt and consists of the following components:

  • Header
  • Public key
  • Private key

which we explain below.

Header

The header is composed of additional information about the keys and the keys file version, this information must always start with the symbol "#".

For the Rexchain-Wallet these lines are comments, i.e. RexChain-Wallet always ignores the lines that start with "#" in the file.

For example, a file keys created in Prescrypto App has the following structure:

# Key Pair Created with Prescrypto In-App Wallet
# Prescrypto Key Pairs Export File V1.0 27 Feb 2019
# More info in https://github.com/Prescrypto/RexChain/wiki/RexChain-Wallet
# Public key is written in PEM format
# Private key is written in PEM format plus symmetric encrypt with a PIN CODE from 4 digits

Public Key

Is an RSA key in format PEM and with a size of 2048 bits. This key should have this form:

-----BEGIN PUBLIC KEY-----  
MIIB1TANBgkqhkiG9w0BAQEFAAOCAcIAMIIBvQKCAbRO3EOtsIGpaPuhlQFjkzgg
q45G7Q8tb/tjKwyoXylsz0wIbjpIWQ9s2KF5x32I8oJlljQL6PRmg32Blye1CaKQ
rXDrbCrzfLK4TzMftOrV3u70PZdbg6H7XSdO/jTvTVWqO8d/McAKDcpl6FPlhaD6
EmtUDQaVGoDbQEletLbd1LwG9DM8tk3HQHQJQH46JVitqu7uUZSjYutk/5vwBboe
nz7nSGY3rT5VfQNY/iNnOQ0EK0QwgEzvVf2i17nHHoxOHINxT/GDIzkNBtu39WCP
B/67XRlL+t2A1Hbkp3DB+mlAyaIm7XDlf0m6v2n4cphTc91D28oLLj9cPkikQs0/
WAWVm19HHjehsa7iuYaiG3ZjMZd2de+3cc9SaQknZvDtMiXBRD81dRfvoJNpQcLK
8VlC7vXIGR4aeZVHwK6OQG/PU82exW0vb7fMRYV93dmilGZdFtHuAVyz1d+kF8PI
xrVLvs/iSU8qJvdKWvrKxWi3eOG2THKUIQ8ch+mYkhy57T43nOaPdFPNbQ89BRmK
GtDizJOYBuRx4unZdIsFmFgtYLi9ZhqLWRc+01TACOJT5iILAgMBAAE=  
-----END PUBLIC KEY----- 

Private Key

Is an RSA key in PEM format and with a size of 2048 bits plus symmetric encryption through AES method with a PIN code of four numbers, where the result is encoding in base64, this encrypted key should have form:

U2FsdGVkX18pOmzw47Uvv3NmXXUV/VBXafSWgqQZkjNNeSSxPeWHxyf1P3GC9Hzzk5gAb5xskpiS4z89qzA11uiFTrzMu15RbGXbcqXH4SRU5JBf/r5NgDvHNfx+JmzVCPMvfUDvqEWJeE+bA9WEUX0fiJ1sLTcYQnCKbY6tTSSMxnduMfwJxtv7dDvaQkgqhHahfFfvocTblucIxTWFmXH8KdI0A6TTby/V1UtzWpFpqLVga01JZkiU3Zt0HroPHkLasXuSJipLTRr89gYwPdeXPJhgDEZvWSBwutOXVKfDhFMCxTop53XeKGUyG/NiPjSLYibTGDETZ8swY3onY8+tpHTgfCc02W9Ib5F+IOTycQqvRpY5124sVvUw0vCPdoSu7uoZf437Qu4XkBVYcPLgTSkQYRXI4aLV19AKyMC+YtcW3QFgvI6fm28E7wOziokaFLO50lb8rVJnOIWkqAhRjDbOuijNUTCe2ey0Nl9be5APrlgekafBcLVvaqBM8nnc81JrXWDPXWrTwZA+Xrl67YS33HIoRMCPXBnGk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JGCOimAqxCWc7kLt3GvuhpXFOYyCUVc1P6PnkGrT/mnE4AJXUXO403NepUC4cXcW4SpD207czlx4sWzLu7aBOWJVy2vE3lCfT3p16cFeznfNKcd1JaGit4BoiAABE0RA1LEeg24/DmD++omjytCGQ9FUwJBkCN3Yj3BOBfoyU7tmbCUsCrTLLb32kFW+QfPY3BFnbXetvMa+fzMTzoKmKTrQRnMlcuWpSy6V+PvFhEa0FxBcNSJ6XPO2R98zn31BnsZZpSr1ltttrOPAsbgLZzXINSTkm1u+AtInsCWqK9s8mYF5DtdZZEva/AOUChaHa7mq6wYXReJsruwqs9Oa4gFyTqcPhjVZABX02t81RDWn3K65jH/sXea0Tve7NSMSklp3WOl0t/9RfpacxoKA++9dhpGHsajtj1CFYCDAdbWKOTwY5dWhl7uvxHZb6I3JQ2gLMBxNXjjGPlnUQ2dW2wQY9kwSbffbKd4aBNtjioA7jRPxqSWckh0jPKdTt6wom+6ZfCuA1g4KZHXTwm9ddsEbhaaZFJRWmlIzJxFj3X6o17Lj7ZEcmfTTbis46t8qrzJrg64UCelLoyugpQ5Ah2NJa5yyLX9RYMp1xL053CkQXD6XQCLTlmFhoHhMZnbI3pl4totoIJ9J+2aBW7/GMcLgqGAtft+Y0zIt5wlWqYHPDr1vFQOgbmQcTIOG6rxMCtrY+3FfCFOEBpn+lvtMiaT99r69SETutRgyw2HikNSRiGaNJEUtoJZtqICgvlJFe3AOsj6FGd8p5GUWvNxuLDDN+GgD3LAk0++R5SKRmOEmtGr1oseExGf+8/mazokOpEwKZKwaT9jsA//qSDi/dr1pzpvGmoQx3ry3W7Mwg1+nu2B8zgw99p1I+lfQy0uv6hnPGLMpRi/qTpQjiqHaQki4DtGDyv4/jBqgUEkgLI49NVrBSgeNcNTgrFh0IhG4MFV5Z5k0gz8FYm0UCQEyDS4jG/HJr6x0J5WVidGz8qgDWMLhYfdopzg==

After you must put the following header

-----BEGIN ENCRYPTED PRIVATE KEY-----

and footer to the encrypted private key

-----END ENCRYPTED PRIVATE KEY-----

For distinguishing this key of the public key.

Therefore, the result is the following:

-----BEGIN ENCRYPTED PRIVATE KEY----- 
U2FsdGVkX18pOmzw47Uvv3NmXXUV/VBXafSWgqQZkjNNeSSxPeWHxyf1P3GC9Hzzk5gAb5xskpiS4z89qzA11uiFTrzMu15RbGXbcqXH4SRU5JBf/r5NgDvHNfx+JmzVCPMvfUDvqEWJeE+bA9WEUX0fiJ1sLTcYQnCKbY6tTSSMxnduMfwJxtv7dDvaQkgqhHahfFfvocTblucIxTWFmXH8KdI0A6TTby/V1UtzWpFpqLVga01JZkiU3Zt0HroPHkLasXuSJipLTRr89gYwPdeXPJhgDEZvWSBwutOXVKfDhFMCxTop53XeKGUyG/NiPjSLYibTGDETZ8swY3onY8+tpHTgfCc02W9Ib5F+IOTycQqvRpY5124sVvUw0vCPdoSu7uoZf437Qu4XkBVYcPLgTSkQYRXI4aLV19AKyMC+YtcW3QFgvI6fm28E7wOziokaFLO50lb8rVJnOIWkqAhRjDbOuijNUTCe2ey0Nl9be5APrlgekafBcLVvaqBM8nnc81JrXWDPXWrTwZA+Xrl67YS33HIoRMCPXBnGk8wnyDqSv4v1ruEuyP4NZZR6xzFM+w7Co558ELPopBrbdsXR0acsqwA2Ogbf4k9MyIxwwDiCNTW02Mzci0GP4QZfUvvOUCulHOWUyguTpq2vR4diIBOJ9Hq8cESJK+IpUdiVvvSLehT23oWI6la3CwcZCJxD4cY0kri/jFsC1hNE8EOgTW+wJYBHKRrQpCAuiuzFkrgN1e0jQnPoVDbrHop6TVLwgt1gz5Acx3dIVewLSHbuYle7cPnNbF0MoFoJoVmX2+9HdX9I0RRIwknoKgbikLxMBCZ7I/yPfP7mKw8A56KouQ0EVXIzkuWjDufXPtp/LIV4GWNAGCGkhCzjI3/idxaJJ4yESAeZN9ihpQZASXqLKxL1j5Vmjrv/VoxlenKgECc6OqINWmrap9O3zCN0qnAtGxIE0vwTeiYkhQ8Fp16j5wU6TtWRPiLT7ua+RpNdzjhO4fksQgNt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Y9kwSbffbKd4aBNtjioA7jRPxqSWckh0jPKdTt6wom+6ZfCuA1g4KZHXTwm9ddsEbhaaZFJRWmlIzJxFj3X6o17Lj7ZEcmfTTbis46t8qrzJrg64UCelLoyugpQ5Ah2NJa5yyLX9RYMp1xL053CkQXD6XQCLTlmFhoHhMZnbI3pl4totoIJ9J+2aBW7/GMcLgqGAtft+Y0zIt5wlWqYHPDr1vFQOgbmQcTIOG6rxMCtrY+3FfCFOEBpn+lvtMiaT99r69SETutRgyw2HikNSRiGaNJEUtoJZtqICgvlJFe3AOsj6FGd8p5GUWvNxuLDDN+GgD3LAk0++R5SKRmOEmtGr1oseExGf+8/mazokOpEwKZKwaT9jsA//qSDi/dr1pzpvGmoQx3ry3W7Mwg1+nu2B8zgw99p1I+lfQy0uv6hnPGLMpRi/qTpQjiqHaQki4DtGDyv4/jBqgUEkgLI49NVrBSgeNcNTgrFh0IhG4MFV5Z5k0gz8FYm0UCQEyDS4jG/HJr6x0J5WVidGz8qgDWMLhYfdopzg==
-----END ENCRYPTED PRIVATE KEY-----

Then when key when is decrypted with AES method is alike:

-----BEGIN RSA PRIVATE KEY-----
MIIJygIBAAKCAiUA1D3fGmRLR+lSrAtogY/40mpvTzkZ3XehTK7BQhks+CwChD4z
7PP1LFW3lXQfnu9X3FQ6Z4bEN/rxtVJj3Dyg2mPAdah8Ic3qvO5+1tZEgsG9Y/0V
JO1jVz1n7G8LVB7OG04JwFVDJB5sKbwcGB3RUUyDzVSEnGIAHrS+aLKbciBnb/ye
qIEiUYvJbxMVuoi0XekDY9cI31CP4LUwolTNEVjtYydiXbtWplOag2yMC5shpSe8
eeP0PU/ivR6Q6C2BfABHrepCB8szHYxPa/MKvkWk6gAMMOFWRDrMTgjolirHS0AG
JyUguKU+F7FFI9egkTUirgwX33N6pgTUkdCOqfkUCnytJstJbcvFM6JK/rA7oIKZ
5NVh8OMTNvEZfcF5V2QEmMyDe3Hn6lsg8hoYeM4wDhII7ELA2Cg/lOvk0+UPLe9O
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wTz1zxjryY07efmAQ3dXj9I94rYNfQKCARIuHeRhLyG7WV/J
j0wrKgpSAojURsZ6MQqmBOBSBvpE3qW1FCU8CJQ6XIIz9yOAOIKr5n3i7984rcQQ
Gg4vgqEtDSzFspqlmvaZBIWHQqzNNAYQvLlOrslhTRY6KTkPUyFrTRXgr21frwpN
xoic7Xj//8QuKsEJRlX8eULl165KRUsXBdsWz7F3hGOCuWBz3AFlEiH0JJEzR84H
Uf/jj9xq4lFBTPlclrep5lWRkPEwjiZKpKIae9ohk1lPD5JblbbCwjnU0vJjg6Ua
cUn6NSiveZRNDTy1dCvKPHy0kl/68RAqtLts0ibGQV8lU2UzeeyHdt35gPEdQpbT
KPN9M6+nyAbRzAn0itW3lrqoXsWF8GhxAoIBElE2JF80o/lSP4g7zGRkbntb1mZ4
XGflLsDsMz9slcN6JnRO//b/E17Ei/J+EDixnHS8ZmDD16JXZbcm4XvzJxSFQSR5
iD9yaNkCdaS9xsgeNvFQJXVb50uY1rKxfdE+J0GqMWCAIwb9nYeV4ZPp+usUhJbN
Cp/dCIrz2R9xUZk61t2sDGtmXUe8ghmcFxWKy1F1tUJdGsbY2vCRwUjxtM1tWLEd
6DAZGXQ+5uKM0l2cp0p7YTDueTYq3bVciLHHEU+UDAHlLEkcoJzBHSsSH2zq7HWn
yPcYiWgAjntp0hn4AcWMSmlUaSD+8bG3OpFf2CKPKSKf8OTrJHid/hcFyC/KWJKI
8WP1HbxhWqL07IVA9Gc=
-----END RSA PRIVATE KEY-----

Remark

The keys used in this documentation are for test only. We recommend you to use the secure methods to obtain your keys with the standards mentioned previously.