I want database for passwords help. XÔÇöX Answer!! :-D | Sololearn: Learn to code for FREE!
+ 2

I want database for passwords help. XÔÇöX Answer!! :-D

Build me this: ÔÇó python code that generates random salt ÔÇó generate peppering too! I heard that its good Hash the password in Argon2i, but hash mnemonic code in Argon21 also (its for password recovery) and hash the PIN to withdrawal funds using scrypt ÔÇó Hash the username using bycrpy too! But its okay because weÔÇÖll have display names and stuff seperate from the username, and also make display names random generated until requested to be custom and vetted. Have pepper management seperate & I hard unit tests

19th Jun 2024, 4:40 PM
BlueZ
BlueZ - avatar
10 odpowiedzi
+ 1
BlueZ Syntax Highlighting: https://pastebin.com/nUtqr8Fi Raw: https://pastebin.com/raw/nUtqr8Fi Feel free to add docstrings, more comments, define constants, and maybe integrate a secrets management service for your API keys, certificates, credentials, passwords, et cetera. Personally I prefer local hosted solutions, and IÔÇÖd personally recommend XChaCha20-Poly1305 or AES-GCM-SIV, however based on your original question it seems hyper paranoia is in play so feel free to 35-pass ÔÇťGutmannÔÇŁ wipe your HDDs/SSDs (your database) and use AES(Twofish(Serpent)) for your encryption algorithm and Whirlpool (512-bit) for your hashing algorithm (for key derivation purposes to enhance security). Also you can force PGP and 2FA for vendors and make a custom captcha yourself. Also why use standard DDOS protection or custom captchas when you can implement better, less annoying, and more effective techniques like haproxy-protection. https://gitgud.io/fatchan/haproxy-protection Hope this helps. ­čÖé­čĹŹ
20th Jun 2024, 12:04 AM
XÔÇöX
XÔÇöX - avatar
+ 4
Q&A is for asking programming related questions and getting help with your code. It is not a code-writing service.
19th Jun 2024, 4:52 PM
Lisa
Lisa - avatar
+ 3
Okay 2 problems. #1 why would I build this for you and also IÔÇÖm not being paid (sadly). #2 what kind of system is this? Different hashing algos for different parts and PINs to withdraw funds and mnemonic codes for PW recovery? This site isnt a ÔÇťask someone to build an entire database or application or software and itÔÇÖs done for free.ÔÇŁ ItÔÇÖs a place to learn. I can make some pseudo code for you and try to help, how does that sound?
19th Jun 2024, 4:44 PM
XÔÇöX
XÔÇöX - avatar
+ 3
Lisa +1 (sadly I canÔÇÖt actually +1 because even though I ÔÇťverifiedÔÇŁ my account I canÔÇÖt send DMs, and it says im not verified, so I canÔÇÖt +1 in Q&A only code posts?)
19th Jun 2024, 5:27 PM
XÔÇöX
XÔÇöX - avatar
+ 1
Omg omg yes yes! :D thatÔÇÖs okay I understand mhmm please help sir! Also umm #1) kindness of ur heart ÔŁĄ´ŞĆ­čą╣? I cant afford pls #2) Ohh its umm like a shop. A marketplace and people buy stuff lets just say that. Also can you force PGP and 2FA for vendors and make a custom captcha system using 3d rotation and alignment pretty pleaseee!! (Oh and make it like a DUAL captcha system that also has a honeypot captcha thatÔÇÖs invisible that only bots can see and if they fill it out autoreject to maximize security)
19th Jun 2024, 4:48 PM
BlueZ
BlueZ - avatar
+ 1
XÔÇöX YouÔÇÖre actually insane brodie ­čĺÇ­čĺÇ­čĺÇ thanks so much like tbh i didnt expect this to be sent back in one day. & thx for the tips too dudee
20th Jun 2024, 12:12 AM
BlueZ
BlueZ - avatar
+ 1
Chris Coder I probably spent more than 5 hours on that pseudo-code and have given the OP good information as I clearly know what IÔÇÖm talking about. I tried my best to follow industry standards but donÔÇÖt expect it to be perfect. So yes, thereÔÇÖs probably some errors here and there but it wasnÔÇÖt designed to work out of the box. ItÔÇÖs just pseudo code for hashing functions and a pepper management system which I seperated for obvious reasons. And then some unit tests. IÔÇÖm just trying to help BlueZ learn. Clearly a mock scenario. Also feel free to check out my shared code snippets/little-projects that IÔÇÖve posted throughout since IÔÇÖve made this account. My code doesnÔÇÖt have errorsÔÇŽ and when it does I fix them like any normal person does. (Hence the version updates throughout my posts)
20th Jun 2024, 6:29 AM
XÔÇöX
XÔÇöX - avatar
+ 1
20th Jun 2024, 7:54 AM
Chris Coder
Chris Coder - avatar
0
YouÔÇÖre welcome. IÔÇÖm lacking a job currently hence the speed and completition time due to my current boredom.
20th Jun 2024, 12:27 AM
XÔÇöX
XÔÇöX - avatar
0
I Wonder how many errors that AI generated code has.
20th Jun 2024, 4:29 AM
Chris Coder
Chris Coder - avatar