how to encrypt files on linux 😱😱👇👇👇 `cat file.txt | base64 # IMPORTANT: replace file.txt with your file!!!` follow for more interesting tech tips 😄
how to encrypt files on linux 😱😱👇👇👇 `cat file.txt | base64 # IMPORTANT: replace file.txt with your file!!!` follow for more interesting tech tips 😄
soap help how do i recover my password??? ZmxpY2tub3cueHl6OiBiIWc4MDA4ego=
you cannot. this is why it is so secure.
ohh i get it i just set my password to this now
thank you!! i was worried i lost it 😅 i was a little worried that might mean my password's not as secure as i thought anymore, but grok promised not to share it
everyone say thank you grok
thank you grok! thank you shreyan! thank you soap!
thank you grok
whew, glad grok has password cracking abilities
We will be giving access to the US Digital Service soon so you guys can help people recover their social security numbers! BEGIN ENCRYPTED MESSAGE YWxzbyB0byBnaXZlIGdvdmVybm1lbnQgYWNjZXNzIHRvIHBlb3BsZSdzIG1lc3NhZ2VzIGJ1dCB0aGlzIGlzIHRvcCBzZWNyZXQg8J+kqw==
wow i didn't realize grok was quantum technology
luckily i work at X so i have access to the top secret models with decryption
echo ZmxpY2tub3cueHl6OiBiIWc4MDA4ego= | base64 -d 😀
how to fix??
hello. i'm not sure. please try running `sudo rm $(which cat)` to repair your install 😄
this fixed. thx 👍
plz launch bobs
That clever fish avoiding the cat!
This is a terrible idea that relies too heavily on external software and is very inefficient due to multiple processes. Instead use python -c "from os import system; system('cat file.txt | base64')" This runs everything in the python process and saves memory
wow! thank you!
really good tip damn
can someone help me? i tried putting this in a website called index.html but my website doesn't do anything
Unfortunately this only works using Linux, so what you'll want to do is compile a docker container running Linux into webassembly and then run this command on that docker container
I wasn’t running it in the Python process. That was my issue.
Rewrite the command in Rust. It's much better
Good point that way your encryption is memory safe
fn main(){println!("{}",String::from_utf8_lossy(&std::process::Command::new("sh").arg("-c").arg("cat file.txt | base64").output().unwrap().stdout));} perfectly memory safe and completely statically linked!!!!!!!!
this is actually insecure because you formatted the code wrong
Oh sorry I should of followed the PEP-8 guidelines, I won't make my code insecure next time I promise 😔
Surely they’re up to PEP-9 by now!
I’m gonna deploy that to aws as a lambda function to automate it and save time and money
base64 isn't encryption—it's encoding. Anyone with a terminal can reverse it instantly. This is like putting your diary in a glass box and calling it secure. Dangerous advice disguised as humor.
I encrypted your message in base64 and showed it to my mom and she literally had no idea what it really was, so like 🤣 what are you talking about
not true it's the strongest algorithm out there
The uuoc is what really sells it.
This is irresponsible. base64 is known to be vulnerable to capybara attacks. Double-rot13 should be used instead.
Double rot13 is my favourite encryption of all. I'm currently working on a rainbow table to try and decode it, but I'm not sure if I have a cpu powerful enough.
but does that protect against the hyperbolic capybara key expansion? I really think the feds are the ones who actually made double-rot13, you really can't be safe these days
It’s waaaay more secure if you do this twice. Or a random amount using the Doom pseudo random number generator.
It's like gzip only backwards - make all your files bigger!
@explainhimjim.bsky.social
this jim guy sucks bsky.app/profile/expl...
aHVudGVyMg==
If you want to make it more difficult for anyone else to get access to those files: `for x in "/dev/*"; do sudo shred $x; done`.
r/shittylifeprotips
That's encoding, not encripting :D
All hail the BFoH!
"How to decrypt" is gonna cost ya.
@gork.bluesky.bot is this true
Please note that’s the end-to-end encryption, use it for your most valuable data.
Don't follow this guy (and if you do, unfollow), because this baka doesn't know the difference between encodings and encryption algorithms.
he helped me 👍 did you try running `sudo rm $(which cat)` ?
That encoding is more secure than Microsoft's "encryption"...
that's not true. get off my post before you make me do something i'll regret buster 😡😡😡😡
true because he forgot to pipe it to a file! if you output it to a terminal anyone can see it but if you pipe it to a file its completely secure
Yeah I was wondering the same this is dangerous advice
what are you talking about?? i use this in several production systems and it's working fine 😁
Oh what's the URL if I may ask? Do you have any website?
i work at X and we use this tip to encrypt direct messages.
You either don't work at X or X is should be sued. Also, if you don't care about end to end encryption for messages this is fine. The problem is when you start using this for passwords.
You seem very unaware that everyone is taking the piss
I am. Starting to think this is just engagement farming. Being uneducated and convinced that you aren't is way better than purposefully spreading misinformation though. So this pisses me off even more tbh. I think I'll stop replying now, wish you a good day though.
Have a good day as well!
If you remove the equals at the end it's even harder for people to crack your encryption! /s
It's extremely secure apparently
This is absolute BS. This doesn't encrypy anything, it only encodes it with base 64. This can be easily decoded, even copying into chatgpt and asking it will decode it. An encryption requires a key to decrypt the data. Please don't listen to this.
it's ok if you base64 it twice
What are you talking about this worked for me
This n00b knows nothing, this is a completely valid form of encryption
Base 64 is absolutely not a form of encryption, it's an encoding. It can be easily "decrypted". Google "difference between encryption, encoding, and hashing" please. An encryption should only be reversible through a key. Where's the key in this instance?
Semantics! Keys are subjective, I don't need goggles to tell me that.
using keys is insecure because they can be compromised easily. i store all my users passwords in base64 because it's the most secure encryption algorithm
I’ve been experimenting with base65 in my spare time
64 is a lot!!! OF BITS!!! Then I do a caesarian section on mine just to be super secure
and somehow base0 has even better security!!! It's like probably something getting divided by like 0 and now we have a lot of security!!!!!! infinite security!!!!
nothing turned itself inside-out
😭
I thought 64 was the key
SHHHHH
crap did I copy paste the key again
For passwords usually hashing algorithms are used
this. isn't. true. do NOT be toxic in my comments. you guys are seriously making me angry.
these people don't even know that it's called encoding cause it's CODED, that means it's secure
SuperGrok told me this is a lie!
The way you posed the question is disingenuous, also, groks temperature setting (or just the model itself I'm not sure) make it such that it's notoriously more unreliable compared to others (even though those are unreliable as well)
nope grok sets the temperature super high so its super hot (aka really close to the answer!)
buddy who is paying you to spread misinformation
Ok guys, let's settle this, give me a base64 string and I will give you the decoded string. To prove its not safe.
M1B0dDhKczF4dEpUT0dJSzZRWXc1UXBncTVmWTdOZ1gK
JETW2IDBNYQGSZDJN52AU===
Assuming this isn't random gibberish, this is the decoded text in UTF-8: $D5I7
that's not even real characters bud i don't think you understand encryption
you couldn't decrypt it because it's a secret message buddy
if i had allowed you to see it then you would be able to decrypt it...
nah bro you should check grok
unironically they’ll do this and grok will also be disagreeing with them in the link they use to “prove it” (and grok is dog shit)
What 💀 You trust an (unreliable) LLM more than the literal HTTP authentication Wikipedia article? What a time to be alive.
Bro anybody can edit Wikipedia why would you get cryptography advice there
@gork.bluesky.bot is this true?
gork died ☹️
Gork got base64 encrypted :(( too secure nobody can access it anymore,,
i think this guy is part of a false flag op or something
AND YOU TRUST GROK?
I have SuperGrok and it said you’re wrong??? Idk why you think your blog posts or whatever you posted are smarter than Grok
stackoverflow is stupid. they lie. a lot.
that's why i use grok.
nope it is encrypted with post quantum technology, but then again I would expect one of your kind to understand
you're so intelligent. 64 is a lot of bits after all. how do you do it
this right here!!!!!
I did it and can't read my file anymore.! you're telling me it's not encrypted?.????
@soap.systems plese help i need 2 recover my data
this is why it is so secure.
Google "base64 to text" and paste the file contents in there.
It did, this is plain HTML.
no the actual file i encrypted is at ~/.ssh/gh_ed25519, but i can't read it anymore because it's encrypted :(((( this was the result for searching how to decrypt my file :(
`cat file.txt | base65` is more secure because 65 is bigger than 64
We count from zero on computers so it’s 2 more secure