md5

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Sparx
Party member
Posts: 125
Joined: Thu Apr 02, 2009 9:54 am
Location: Aachen, Germany

md5

Post by Sparx »

I need an algorythm for md5sum....
It's not implemented in löve so how can i include such an external lib?
SnakeFace
Prole
Posts: 28
Joined: Tue Aug 19, 2008 2:45 pm

Re: md5

Post by SnakeFace »

Can't love do 'require' on a dll if it's inside the love file? Not sure though, it may need to be compiled into love.
Lovely quotes
somewhere within the jungle of administrative doom - rude
User avatar
Sparx
Party member
Posts: 125
Joined: Thu Apr 02, 2009 9:54 am
Location: Aachen, Germany

Re: md5

Post by Sparx »

I don't know how to complie löve and i don't want to know...
requiring the dll doesn't work.. did it how they tell for integrsting in "Normal" lua.. didn't work neither.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: md5

Post by Robin »

You might want to check out http://www.keplerproject.org/md5/ if you haven't already.
Help us help you: attach a .love.
User avatar
Sparx
Party member
Posts: 125
Joined: Thu Apr 02, 2009 9:54 am
Location: Aachen, Germany

Re: md5

Post by Sparx »

I have don't really know how to integrate...
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: md5

Post by Robin »

I actually think you will need to use love.native for this (except if you want to compile the C for every platform)... but here I found an MD5 implementation in Lua, only for that you need bitlib...
Help us help you: attach a .love.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: md5

Post by bartbes »

Well, you can't load dlls from the .love (and they're no cross-platform! :x) However, they are searched for in the LÖVE install dir (and some others, but ignore that, they are 'unstable')
User avatar
Sparx
Party member
Posts: 125
Joined: Thu Apr 02, 2009 9:54 am
Location: Aachen, Germany

Re: md5

Post by Sparx »

Is it possbile that you integrate MD5SUM into Love 0.6?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: md5

Post by bartbes »

Add it to the feature tracker, everything in the tracker will be looked at, so that's all you can do, basically. Though I imagine it can't be that hard? (well, you have to run it through love.filesystem, but that's about as hard as it gets...)
User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: md5

Post by ljdp »

There is a md5 function written in pure lua somehwere...
Ah wait no it's SHA-1, still impressive though
http://regex.info/blog/lua/sha1
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 13 guests