+ 4
How to install Bcrypt here
https://sololearn.com/compiler-playground/cUm30MePunaN/?ref=app
17 Respuestas
+ 7
Programing Queen
if the modules are small enough and are compatible with the allowed operations here in Sololearn, they can be installed temporarily.
they are wiped clean when you exit the code.
here:
https://sololearn.com/compiler-playground/cWRsUNxGEPUS/?ref=app
+ 2
Help me with this one please 🥺
+ 2
But this programme runs fine on my ide
+ 2
Programing Queen Actually my bad, apparently there is a way to python install packages on the playground, although with limitations:
https://www.sololearn.com/Discuss/3253404/?ref=app
(The question has been asked b4 many times)
+ 1
U can't install packages on sololearn...
+ 1
The previous method I outlined that Aleksei Radchenkov posted a link to no longer works ☹️
if you run the code it will return a zero because the module did not install successfully.
The playground is really just for learning Python basics.
+ 1
like#popcicle
bcrypt is used to generate an encoded hash and verify passwords.
you usually generate the hash of the password in one private python script.
in your public script, you only show the hashed version. then the password is not exposed to the public even if they can see the code.
can you guess the correct password for this?
https://sololearn.com/compiler-playground/c5si1b9eeqcI/?ref=app
0
It's still not working
0
Thanks for you help ☺️ Bob_Li
0
ok..its cool
0
i dont know this file, what is bcrypt
0
thank you but i don't need it
0
like#popcicle, it's not your code. it's Programing Queen's. so it's not about what you need...
however, knowing something like this exists is worth knowing. who knows when you might need it.
maybe you have a database or website that needs a password to login. you can't go around exposing your password in your verification code, can you?
but you can use something like bcrypt to verify it and just expose the hash value in your code. it's like having something exposed but invisible at the same time...
0
test the code in this link...run...google colab.
0
what the real password?. i try many time is incorrect password?.
0
syntax error again.. if { C ( = ? where is bracket ?. C ? ..hmm..