The story of Rng Coin

RNG Coin
7 min readFeb 13, 2019

--

RNG Coin was founded in 2017 by a group of cryptography experts who recognize the importance of utilizing random number generation (RNG) in order to secure decentralization.

The primary objective is to create a platform with a level playing field for any and all users, without the slightest possibility of cheating.

Blockchain technology provides the opportunity and the transparency to create. However, in order to remain 100% tamper-resistant to any and all hacker attacks and/or cheating, advanced layers of security is absolutely vital. RNG provides the cryptography needed to make that goal a reality.

The idea of combining blockchain technology with advanced levels of cryptography to ensure a safe, tamper-resistant, 100% fair gaming/gambling platform for all, fueled our 2017 launch of the “Fatum platform”.

The primary concept behind blockchain and p2p currencies, such as bitcoin, assumes that zero-trust exists amongst users. Blockchain technology allows users the ability to transfer value without the need or trust of any third parties, while recording all transactions on a public ledger. The need to depend on a centralized banking system to keep your funds safe is no longer needed. The transparency of blockchain dissolves the need for trust, and the advanced cryptography protects the networks functionality while restricting any manipulation.

Fatum was originally designed to operate from the ethereum platform. ERC-20 projects utilize this platform to solve their encryption and smart contract needs. However, through our extensive research we learned that it would not meet our needs, for several reasons. The ethereum blockchain takes a commission for each transaction. Additionally, these transactions took too much time to perform. Furthermore, we were not comfortable with the level of cryptography it provided. Therefore, it was too expensive, too slow, and didn’t afford the level of security that we expected to achieve.

Therefore, our development team designed a unique auxiliary tool. This tool would allow us to utilize all the capabilities and attributes of the ethereum platform (cryptography, decentralization, random number generation) without the burden cost of money and time. Additionally, we designed an encryption tool based on RNG to provide an extra layer of security, making it impossible to permeate. In the midst of these developments we realized our potential was much greater than originally anticipated. It was from this that we decided to develop our own cryptocurrency!

Ultimately, after we launched an unsuccessful ICO crowd sale campaign for Fatum in 2018, we decided to focus all of our energy on RNG coin. Prior to the relaunch of our new project, we revamped the specs and changed our mining algorithm to SHA-256. This algorithm is a member of the SHA-2 cryptographic hash function originally designed by the NSA. Our development team also updated from proof-of-work (PoW) to incorporate the PoW and proof-of-stake (PoS) hybrid algorithms, in order to prevent the possibility of 51% attack and improve security levels.

Rng Coin Technical Details:

Mining algorithm: SHA-256

Rewards: PoW & PoS

Launched: Q1 2018

Relaunched: Q4 2018

Maximum Coin Supply: 840,000,000 RNG

Pre-mine: 84,000,000 RNG (10%)

Block time: 50 seconds

Block size: 4MB (Segwit activated)

PoW Reward: 90 RNG

PoS Reward: 90 RNG

Required confirmations: 6

Timestamping scheme: Hybrid (Proof-of-work, Proof-of-stake)

Transaction Fees: 0.0001–0.0004 RNG (Each transaction cost burns)

Transaction comments: 528 characters max. (up to 2000 characters with compression)

Decimal places: 6

Source model: Open source

Additional Specs:

- Reward decreasing by 5% each year.

- Mining out in 8 years.

- Min POS Age — 30 days

- Max POS Age — 90 Days

Project Features

Random number generation

Our method of RNG encryption is similar to traditional coins such as bitcoin, litecoin, etc. However, we have also integrated additional algorithms which can record those random numbers to the blockchain.

Pseudorandom number generator (PRNG), refers to an algorithm which utilizes mathematical formulas to generate sequences of random numbers. PRNGs generate a sequence of numbers while approximating their properties. PRNGs are a vital component in applications such as simulations, (i.e. the Monte Carlo method) electronic games, (i.e. procedural generation) and cryptography.

The Four Sources of RNG Coin’s built-in Cryptography Function

1) The source of entropy for random number generation is the original sequence of bytes. To achieve it we use the time stamp counter, assembler instructions for the x86 and x86_64 platforms, reading the TSC counter and return in the EDX: EAX 64-bit number of cycles since the last reset, reboot of the processor.

https://en.wikipedia.org/wiki/Time_Stamp_Counter

2) The resulting bytes are mixed in an unrecoverable order, using RAND_add from the SSL library. A description of the function is here:

https://www.openssl.org/docs/man1.0.2/crypto/RAND_add.html

3) The OS system function of Linux is used to get another random 32 bytes. http://man7.org/linux/man-pages/man2/getrandom.2.html

4) RDRAND — Read Random Number, returns 32 bytes generated by the hardware of the computer http://www.felixcloutier.com/x86/RDRAND.html. The resulting bytes are mixed in the CSHA512 class, the write method and the finalize method.

The random number could be generated from command prompt if you enter the command “rngcoin-cli getrandomnumber” or “./rngcoin-cli getrandomnumber” it will return a string of randomly generated numbers and characters in hexadecimal, it could be converted to any required number.

However, this is not a truly reliable source of random numbers generation. This is simply a “concept” for a new type of cryptocurrency which has never been used before.

We are actively engaged in the development and implementation of new technologies and proven algorithms. A few of these include the “PCG Family” and “ChaCha20”. The goal is to introduce a completely new and absolutely reliable algorithm for generating 100% random numbers into a coin.

By combining all these methods together, we are creating a powerful and completely unpredictable RNG generation which passes the BigCrush test. The BigCrush test is the gold standard of random number generation, meaning the values also pass the RNG screening once the bits are reversed.

After the final development and integration of RNG, the next step is to acquire proper certification. This certificate acts as a trophy or a diploma, solidifying the achievement of total randomness.

Transaction comments

RNG Coin provides users the ability to attach comments of up to 528 characters to every transaction and store it permanently on the RNG network. Additionally, users can transmit up to 2000 symbols per transaction if they utilize our unique compression tool/method. Utilizing this comment/message option allows users the ability to convert their RNG wallet into a private data or an anonymous monetary exchange. Additionally, due to the fact that all comments/messages are sent encrypted, the recipient is only one who is able to decrypt/receive the massage. This encryption can be performed using symmetric or asymmetric encryption methods.

This innovation allows users to transit P2P 100% secure and private data. Which means users can share confidential data, messages, private keys, execute smart contracts, interact with a decentralized exchange, transfer coins anonymously, and much, much more.

Blockchain Data Storage

RNG Coin affords users the ability to add comments to their coin transactions. These comments serve as tamper proof, data storage vessels which are permanently visible on the network. This is an extremely useful and innovative feature designed to promote the user-friendly network.

This feature also creates endless, new opportunities to utilize the decentralized application on the blockchain (dApps). Some of these innovative ideas include the decentralization of voting, email platforms, notaries, and exchanges. Other opportunities include creating a global open library, patent system, pre-generating random numbers, messaging, payment channels, p2p encryption keys, storing smart contracts…etc. The utilization of dApps provides an endless supply of opportunities and capabilities when utilizing this comment/messaging feature to notarize files on the RNG blockchain.

Gambling

Utilizing our unique architecture, the coin can be used in the gaming industry. Rng coin is the first decentralized and independent source of random number generation tool in the history of blockchain technology! It can also be as a utility for checking the honestly control. The coin can easily generate any chain(s) of random numbers.

From a gaming/gambling perspective, the coin is able to generate whole decks of cards, as well as initial seeds for the games. By using private signatures, public signatures, and publications of pre-generated chains before gaming, and then recording the session into the blockchain. This coin has the ability to finally solve the problem of complete fairness within the online gaming community.

Messaging

By utilizing the ability to attach comments to each transaction, the coin opens up ample opportunities in the field of secure messaging and encrypted data exchange. Rng coin can serve as an alternative to email and xmpp messengers. The possibilities of this coin are not limited by anything. It is able to collect any decentralized communication nodes and means for transmitting and exchanging data. It is able to achieve all of this while also utilizing the most reliable encryption and high transfer speeds that the coin affords. Each block is generated in just 50 seconds, while the transaction data and comments are absorbed into the network in just 2–3 seconds!

--

--

RNG Coin

RNG Coin is a peer-to-peer cryptocurrency and open source software project.