Skip to content

suibex/RNA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RNA

RNA is a message-digest algorithm that is cryptographically undecryptable (atleast for now) but still lightweight at it's core.

How this came to be?

I was at a biology class and teacher was showing us the iRNA and Ribosomes.I was so tired i couldn't even recognize his words anymore.
But then this image hit me.

image
Now you won't really see anything useful here. But he explained it like this:
Ribosomes are grabbing the info from informational RNA (iRNA) and using them to create Protein.
So then I somehow woke up and taught. Wait. Can I use this to create a hashing algorithm?
Maybe not a good one, but still it would be hella fun to do so.

How it works?

RNA hashing works by using prefixed random values.
Just like iRNA has prefixed info.
Those values are then calculated with this formulas that I came up with:

image


And as far as I tested , new hashes everytime, always different. This is fun!
Also, as a coincidence , this hashing is really fast, so thats neat too.

Example:


This example can be found in repo as well as the implementation of RNA hashing in C.

The quick brown fox jumps over the lazy dog.

image


so I guess Biology is not that boring, huh?

About

RNA is a message-digest algorithm that is cryptographically undecryptable (atleast for now) but still lightweight at it's core.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages