Sinisterly
bencode -- Simple hashing/encrypting module - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: bencode -- Simple hashing/encrypting module (/Thread-bencode-Simple-hashing-encrypting-module)



bencode -- Simple hashing/encrypting module - Shebang - 07-05-2013

BenCode
Simple hashing/encrypting module

Usage
--> Add Reference to bencode.dll
--> Dim b As New bencode.bencode

Documentation
--> b.SHA1("Input String") returns "Hashed result"
--> b.SHA256("Input String") returns "Hashed result"
--> b.SHA384("Input String") returns "Hashed result"
--> b.SHA512("Input String") returns "Hashed result"
--> b.RIPEMD160("Input String") returns "Hashed result"
--> b.MD5("Input String") returns "Hashed result"
--> b.RC2("Input String") returns {"Encrypted Result", "Generated Key", "Init Vector"}
--> b.AES("Input String") returns {"Encrypted Result", "Generated Key", "Init Vector"}
--> b.DES("Input String") returns {"Encrypted Result", "Generated Key", "Init Vector"}
--> b.TDES("Input String") returns {"Encrypted Result", "Generated Key", "Init Vector"}
--> b.RSA("Input String") returns "Encrypted Result"




RE: bencode -- Simple hashing/encrypting module - Helroos - 07-05-2013

Nice share. Is this your own code?


RE: bencode -- Simple hashing/encrypting module - Shebang - 07-05-2013

Yep, I just coded it yesterday and figured I might as well share it.


RE: bencode -- Simple hashing/encrypting module - ViolentReality - 08-02-2013

Awesome release man, I could get a fair bit of use out of this.


RE: bencode -- Simple hashing/encrypting module - Eternity - 08-02-2013

Thank man, add swordfish to the mix too.
Ain't no application without SwordFish.


RE: bencode -- Simple hashing/encrypting module - Platinum - 08-02-2013

Really nice for our apps, thanks a lot!