Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO All]Encrypt your Passwords


Wortel Angels
 Share

Recommended Posts

Hey i made an Basic Password Encrypter which encrypts your passes logically…

First add [That](http://www.mediafire.com/download.php?5g28vs9vbbahe40) to your Server source.

Then open the Server and search

```

Sub AddAccount(ByVal index As Long, ByVal Name As String, ByVal Password As String)

```

Replace there

```

Player(index).Password = Password

```
with

```

Player(index).Password = encrypt(Password, 5)

```

Then search

```

Private Sub HandleLogin(ByVal index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long)

```

Replace there

```
Password = Buffer.ReadString
```
with

```

Password = encrypt(Buffer.ReadString, 5)

```

And you are done :-)

EDIT: you can remove on the modEncrypt the decrypt function its not used there xD

Credits: Me

Best Reagards

Mortal Angels
Link to comment
Share on other sites

> intresting ill take a look later, even if its basic its still gonna be better then ur password being open like it is, thanks for the share mortal.

Actually its safe if the other dont know what for an Number you use they wont get it out xD and i dont think youll publish your used number… No Problem :-)

> This is best recommended if you don't want others (including yourself) to know your players password.
>
> @OP are you salting or just Ascii?

You can view the Password you can use the other function which is added to do an extern decoder and view with that the passwords

Ahm hows made actually its getting every letter and … Censored dont wanna tell it here because maybe is someone using it and then is this person again easy hackable if you know how coding works (What you do ;-)) then can you see hows done exact else its not needed how just that its working ^^
Link to comment
Share on other sites

> Actually its safe if the other dont know what for an Number you use they wont get it out xD and i dont think youll publish your used number… No Problem :-)
>
> **You can view the Password you can use the other function which is added to do an extern decoder and view with that the passwords**
>
> Ahm hows made actually its getting every letter and … Censored dont wanna tell it here because maybe is someone using it and then is this person again easy hackable if you know how coding works (What you do ;-)) then can you see hows done exact else its not needed how just that its working ^^

Nobody should be able to decrypt passwords although I guess this is better than nothing. The right way to encrypt passwords is to use a [cryptoraphic hash](https://en.wikipedia.org/wiki/Cryptographic_hash_function) with a [salt](http://en.wikipedia.org/wiki/Salt_(cryptography)) and lots of iterations.. Or just use a [bcrypt](http://en.wikipedia.org/wiki/Bcrypt) implementation.
Link to comment
Share on other sites

> Working perfectly Mortal Angels ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)

Naturally ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png) which tutorial of me doesnt work ? hahaha

-> Feel like Einstein

Im selling an more advanced version of this (With salt e.c.t.) for 5$
Link to comment
Share on other sites

  • 2 weeks later...
A better easy way of doing this is to use it like this : encrypt(password,len(player(myindex).name)) ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...