Neproify Posted May 16, 2015 Share Posted May 16, 2015 Hello, can I encrypt password with blowfish encryption in lua? Link to comment
ixjf Posted May 16, 2015 Share Posted May 16, 2015 Not natively. What's this for, though? It's probably overkill. Link to comment
Neproify Posted May 16, 2015 Author Share Posted May 16, 2015 I need that, because IPB 4 use it for password hashes, and in my script(created for IPB 3) I created account system based on forum accounts. Link to comment
WhoAmI Posted May 16, 2015 Share Posted May 16, 2015 IPB password are hashed like that md5 ( md5 ( salt ) .. md5 ( password ) ) Link to comment
Neproify Posted May 16, 2015 Author Share Posted May 16, 2015 In IPB 3 - yes. IPB 4 use crypt function. Link to comment
WhoAmI Posted May 16, 2015 Share Posted May 16, 2015 I couldn't find blowfish for LUA, but there is this function in PHP, so you can use callRemote and transfer password to PHP, and return to resource crypted password. Link to comment
GTX Posted May 17, 2015 Share Posted May 17, 2015 There is blowfish for Lua: https://github.com/bungle/lua-resty-net ... owfish.lua Link to comment
xXMADEXx Posted May 17, 2015 Share Posted May 17, 2015 There is blowfish for Lua: https://github.com/bungle/lua-resty-net ... owfish.lua That script wouldn't work on MTA. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now