Bitcoin Forum
May 22, 2018, 08:34:53 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: The encryption library I wrote for shits and giggles  (Read 550 times)
Offline Offline

Activity: 98
Merit: 10

firstbits: 1nathana

View Profile
December 23, 2011, 10:27:56 PM

So I made this library just to teach my self more about cryptography, so if decryption without the key is as simple as multiplying by 3 and dividing by 2, that is expected.
I would appreciate any and all feedback on its workings, its an eclipse project, where the example encrypts 2 bytes and then decrypts them.
Just to save my own ass here in case some nut job tries to use it to actually secure something, I reserve full rights to this code and any code that does the same thing to the full extent of my rights. Any unauthorized use is prohibited, with the exception of figuring out how it works.
Thanks for taking a look at it (I know the hashing/key deriving function is most likely insecure, but I'm no expert).
And yes, this code is ugly, but that because the only thing I use java for is that first step from psuedocode to c++ or whatever is appropriate.
I assume no responsibility for any eye burning as the result of reading this code.
(Shout out to David Schwartz for helping me fix one of my ADHD induced code-holes on stack overflow)

Support the BitClip project:
Donate to bitclip: 1BCincd4sHM1ou5QcxZ4vc4hKzsxXCpQT
Dontate to me: 1NathanAubdutd4kW4VwfcEXEWvgkqEq7V
PGP key 1:
PGP key 2:
Proof both keys belong to me:
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!