Bitcoin Forum
December 09, 2016, 07:44:13 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: The encryption library I wrote for shits and giggles  (Read 500 times)
natman3400
Member
**
Offline Offline

Activity: 98

firstbits: 1nathana


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

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)

http://dl.dropbox.com/u/42936303/smelt.zip

Support the BitClip project:
http://bit.ly/vghQFK
Donate to bitclip: 1BCincd4sHM1ou5QcxZ4vc4hKzsxXCpQT
Dontate to me: 1NathanAubdutd4kW4VwfcEXEWvgkqEq7V
PGP key 1: http://goo.gl/TUIWe
PGP key 2: http://goo.gl/jrfaI
Proof both keys belong to me: http://goo.gl/dQSHl
Pages: [1]
  Print  
 
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!