[Tutorial] Using new SHA-256 function
#14

Quote:
Originally Posted by dominik523
View Post
Random(79) will give anything from 0 to 79, and we don't want our characters to start from 0 which is null in ASCII. Because of that, we are adding 47 to it so we'll get anything from / to ~.
It will give a value from [0,max), meaning that the highest value you will ever get is max-1, or in the case of random(79) it's 78.

Otherwise it's a decent tutorial, anyone dealing with passwords should be aware of hashing.
Reply


Messages In This Thread
Using new SHA-256 function - by dominik523 - 12.07.2015, 10:12
Re: Using new SHA-256 function - by lukewid - 12.07.2015, 11:32
Re: Using new SHA-256 function - by lexjusto - 13.07.2015, 02:27
Re: Using new SHA-256 function - by dominik523 - 13.07.2015, 05:53
Re: Using new SHA-256 function - by zT KiNgKoNg - 13.07.2015, 08:14
Re: Using new SHA-256 function - by dominik523 - 13.07.2015, 08:37
Re: Using new SHA-256 function - by Lordzy - 13.07.2015, 13:44
Re: Using new SHA-256 function - by dominik523 - 13.07.2015, 17:25
Re: Using new SHA-256 function - by Youssef221 - 13.07.2015, 23:53
Re: Using new SHA-256 function - by zT KiNgKoNg - 14.07.2015, 00:06
Re: Using new SHA-256 function - by yugecin - 14.07.2015, 00:06
Re: Using new SHA-256 function - by scaunel - 14.07.2015, 01:10
Re: Using new SHA-256 function - by dominik523 - 14.07.2015, 08:36
Re: Using new SHA-256 function - by Hiddos - 14.07.2015, 10:59
Re: Using new SHA-256 function - by dominik523 - 14.07.2015, 11:58
Re: Using new SHA-256 function - by Youssef221 - 14.07.2015, 13:28
Re: Using new SHA-256 function - by Youssef221 - 14.07.2015, 16:41
Re: Using new SHA-256 function - by dominik523 - 14.07.2015, 17:08
Re: Using new SHA-256 function - by Cyber123 - 14.07.2015, 23:05
Re: Using new SHA-256 function - by RaeF - 16.07.2015, 03:12
Re: Using new SHA-256 function - by rymax99 - 16.07.2015, 03:48
Re: Using new SHA-256 function - by dominik523 - 16.07.2015, 07:46
Re: Using new SHA-256 function - by AchievementMaster360 - 20.07.2015, 20:04
Re: Using new SHA-256 function - by venomlivno8 - 15.01.2016, 09:45
Re: Using new SHA-256 function - by Vince - 15.01.2016, 17:50
Re: Using new SHA-256 function - by PrO.GameR - 18.08.2016, 20:49
Re: Using new SHA-256 function - by SKAzini - 18.08.2016, 21:36
Re: Using new SHA-256 function - by BugsBunny - 19.02.2017, 11:12
Respuesta: Using new SHA-256 function - by Juance - 28.02.2017, 12:39
Re: Using new SHA-256 function - by Phreak - 21.04.2018, 12:19
Re: Using new SHA-256 function - by ranme15 - 21.04.2018, 13:33
Re: Using new SHA-256 function - by JesterlJoker - 21.04.2018, 16:47
Re: Using new SHA-256 function - by AmigaBlizzard - 22.04.2018, 20:46
Re: Using new SHA-256 function - by JesterlJoker - 23.04.2018, 11:00
Re: Using new SHA-256 function - by iKarim - 23.04.2018, 16:11
Re: Using new SHA-256 function - by AmirSavand - 11.09.2018, 23:08

Forum Jump:


Users browsing this thread: 1 Guest(s)