View this post on Hive: [Python Tips] Secrets Module - New in 3.6
[Python Tips] Secrets Module - New in 3.6
7 years ago by themarkymark (78)
$167.77
- Past Payouts $167.77
- - Author $144.05
- - Curators $23.72
143 votes
- + peaceandlove: $57.506 (100%)
- + upmyvote: $57.329 (76.92%)
- + ipromote: $29.439 (100%)
- + busy.pay: $7.877 (11.92%)
- + upboater: $3.036 (65.34%)
- + teamsteem: $1.761 (5%)
- + hairshares: $1.740 (100%)
- + alexpmorris: $0.987 (80%)
- + drakos: $0.876 (20%)
- + cryptogee: $0.793 (100%)
- + michellectv: $0.743 (80%)
- + themarkymark: $0.670 (100%)
- + drmake: $0.400 (80%)
- + pharesim: $0.352 (0.38%)
- + justyy: $0.270 (5%)
- + hotvideos: $0.252 (80%)
- + poweredbyweb: $0.251 (80%)
- + playfulfoodie: $0.227 (20%)
- + cicbar: $0.215 (20%)
- + qurator: $0.211 (0.85%)
- … and 123 more
Upvote and resteemid done man
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I showed my friend this python secret and he is more than happy... Nice one
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@themarkymark, have you seen @berniesanders' post? Also, @buildawhale upvoted it.
Great post! This 'secret' library sounds perfect for password, private key, and token generation.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Yes, I did.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@themarkymark you not witness yet? for some reason I thught that you a witness
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I am a witness.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
got confused because of the animation where Malcolm Reynolds shooting to vote
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
What is the difference between running a full node and running a witness node? I've seen people say that this is two different things. Are you a witness if you run a witness node or a full node? I'm bit confused.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Witness node is what produces blocks and is used to secure the blockchain.
A full node is what is used to handle calls to the blockchain. It hosts the API to allow applications to query the blockchain and to make changes.
Then you have a seed node which is read only to help speed up the network.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Ok that makes sense. Thanks for the info. Is there anywhere where I can go to like a discord channel or some forum where the witnesses interact with each other? I am very interested in becoming a witness, I just can't afford a sizable server at the moment, but I have a few years of unix sysadmin experience both Linux and BSD. I would like to chat to the other witnesses and potentially become one in the future if I can afford a bigger server.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Nice article and all, but I still wouldn't wanna use python for generating cryptographic secrets just because of personal paranoia. Would be curious to see where secrets gets its entropy from.
Btw have a look at : https://www.random.org/
I found a python wrapper for their JSON RPC service which can be used to generate passwords etc. See: https://github.com/mitchchn/randomapi
That being said be very careful when generating cryptographic secrets or when generating entropy.
Always remember that entropy cannot be detected, but the lack of entropy can be detected.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Cool! I'm pretty sure I had heard of this module before, but I don't often program with Python 3.6 in mind. I'll have to try to remember to add some conditionals for when a script using randomness and encryption is run on Python 3.6.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Great article. This library will help us generating password, secret codes.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit