This work is produced by Mats Loock for the course Server-based Web Programming (1DV023) at Linnaeus University.
All content in this work excluding photographs, icons, picture of course literature and Linnaeus University logotype and symbol, is licensed under a
Creative Commons Attribution 4.0 International License.
If you change the content do not use the photographs, icons, picture of the course literature or Linnaeus University logotype and symbol in your new work!
At all times you must give credit to: ”Linnaeus university – Server-based Web Programming (1DV023)” with the link https://coursepress.lnu.se/kurs/serverbaserad-webbprogrammering/ and to the Creative Common-license above.
The authentication method you choose to use depends on the type of application. For a web application, cookie- or token-based authentication is often appropriate.
Plain text | Hash (MD5) |
---|---|
123456 | e10adc3949ba59abbe56e057f20f883e |
123456789 | 25f9e794323b453885f5181f1b624d0b |
password | 5f4dcc3b5aa765d61d8327deb882cf99 |
qwerty | d8578edf8458ce06fbc5bb76a58c5ca4 |
111111 | 96e79218965eb72c92a549dd5a330112 |
save
method triggers validation.pre()
before compiling the model.2a
identifies the bcrypt algorithm version that was used.08
is the cost; 28 iterations of the key derivation function are used (some recommend a cost of 12 or more)./ZADTNI3LjfDSEYbdErZAOiw.M1NwS01ohmlM8JywWHLClz1ALLmK
is the salt and the ciphertext.