+ 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 Antworten
+ 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