Share your advanced PureBasic knowledge/code with the community.
Max.²
Enthusiast
Posts: 175 Joined: Wed Jul 28, 2004 8:38 am
Post
by Max.² » Sun Aug 15, 2004 9:11 pm
@ Newbie
Updated it; was a stupid error in conjuction with the PB string handling.
More in a bit; dinner is done now.
newbie
Enthusiast
Posts: 296 Joined: Tue Jul 29, 2003 5:47 pm
Location: FRANCE
Contact:
Post
by newbie » Sun Aug 15, 2004 9:15 pm
ok it works now, had verified it with a software I have which does hash of strings
Still, a big Lib ! why is it so huge ? (for a lib)
EDIT : may be should we do another topic for SHA ? or take the old one I done in general discussion, don't know.
EDIT 2 : waiting for your "after dinner" work now... go go go
- Registered PB user -
Using PB 4.00
Max.²
Enthusiast
Posts: 175 Joined: Wed Jul 28, 2004 8:38 am
Post
by Max.² » Sun Aug 15, 2004 10:33 pm
Back. Yummy.
The lib is so big, because it also contains SHA2 and HMAC. Especially SHA2 is relatively big.
Not sure if I will get them going today, too. But it shouldn't be too difficult now. The generic functions work, but I want the easy access functions work too.
newbie
Enthusiast
Posts: 296 Joined: Tue Jul 29, 2003 5:47 pm
Location: FRANCE
Contact:
Post
by newbie » Sun Aug 15, 2004 10:38 pm
Hey dear, finally come back
Ok for the lib size.
May be later (once finished) could you split the lib into corresponding names ? (SHA1, SHA2, etc...).
but I want the easy access functions work too.
take your time, I'm for one who love easy and simple commands
- Registered PB user -
Using PB 4.00
thefool
Always Here
Posts: 5875 Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark
Post
by thefool » Sun Aug 15, 2004 10:59 pm
isnt there something about that you can make a lib only include the needed procedure in an exe?
i think tailbite does that automatic..
Try make different exe's with the different encryptions and see if thats true.
Shannara
Addict
Posts: 1808 Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed
Post
by Shannara » Sun Aug 15, 2004 11:34 pm
thefool wrote: isnt there something about that you can make a lib only include the needed procedure in an exe?
i think tailbite does that automatic..
Try make different exe's with the different encryptions and see if thats true.
Damn, you beat me to it.
sec
Enthusiast
Posts: 792 Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:
Post
by sec » Mon Aug 16, 2004 8:10 am
newbie wrote:
such as , Max :
SHA-1 / SHA-256
Sec :
SHA-384 (is it the good one ?)
SHA-512
I have always liked multitasking ^^
Anyway, downloading your Lib right now
EDIT : why the
SHA library is so huge (20.3Ko) against only 9Ko for AES ? I would have thought that AES would have been far bigger than a hash algorithm.
done part of me and it is small and simple .why? because it is PURE
newbie
Enthusiast
Posts: 296 Joined: Tue Jul 29, 2003 5:47 pm
Location: FRANCE
Contact:
Post
by newbie » Mon Aug 16, 2004 11:41 am
Hi Sec,
it was just an example I was giving, don't know what Max is doing on his side
- Registered PB user -
Using PB 4.00
thefool
Always Here
Posts: 5875 Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark
Post
by thefool » Mon Aug 16, 2004 2:25 pm
Damn, you beat me to it.
come get some!
well i just saw in another thread that you cant jugde on the filesize of the lib, because it only includes the needed procedures.
Max.²
Enthusiast
Posts: 175 Joined: Wed Jul 28, 2004 8:38 am
Post
by Max.² » Mon Aug 16, 2004 3:36 pm
newbie wrote: don't know what Max is doing on his side
Currently I am trying to get a little bit of structure into the code snippet and library mess on my system. Then I start a new thread.
I finished updating the AES Library and need to package it; then I will split the SHA Libraries. Am not sure yet if I will continue on SHA2 next or if I add some more functions to the SHA1 one.
BTW, as thefool said, the size of a library really doesn't matter, only of the functions inside. The size of them can vary royally, depending on the optimization chosen. I personally am more for speed then for size, but maybe it is worth to compile them to 2 versions; most speed and least size.
NoahPhense
Addict
Posts: 1999 Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida
Post
by NoahPhense » Tue Jan 23, 2007 3:17 am
Ok, so whats the latest here? Which link or code is the AES256?
Anything higher, other than encrypting twice?
- np
kinglestat
Enthusiast
Posts: 746 Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:
Post
by kinglestat » Tue Jan 23, 2007 2:42 pm
i am mightiliy excited by this post
BUT
where do we download the library ?
and then which post effectiveley describes how to use it ?
I know it might sound or look dumb to some of you
But since none of the urls works there is nothing to go on!
cheers
KingLestat
CherokeeStalker
User
Posts: 66 Joined: Fri Oct 17, 2003 2:42 am
Post
by CherokeeStalker » Mon Aug 06, 2007 7:42 am
Is this still available for download anywhere ?
Please post a link if it is.
Thanks !