input
stringlengths 5
4.07k
⌀ | output
stringlengths 5
4.07k
|
---|---|
yusp48
<Re: insaneness> what is safe tensors
i know it's a format but like
why is it safe
does it wear a condom | v2ray
condom tensor
.ct |
6706full
only 9 channels remaining
Try to selfhost mtrix through reverse proxy,will IT WORK
?
IF YES,I WILL TELL. | v2ray
what |
6706full
chat hosting
again
@insaneness tried and failed
I will try | v2ray
host what
which model |
v2ray
host what
which model | 6706full
matrix chat
<Re: v2ray> unrelaed to ai |
6706full
matrix chat
<Re: v2ray> unrelaed to ai | v2ray
tf is matrix chat
the matrix?
why are you making the matrix |
v2ray
tf is matrix chat
the matrix?
why are you making the matrix | 6706full
matrix.org
<Re: v2ray> selfhostable chat |
6706full
matrix.org
<Re: v2ray> selfhostable chat | v2ray
ok
why selfhost chat |
v2ray
ok
why selfhost chat | 6706full
<Re: v2ray> L discord |
6706full
<Re: v2ray> L discord | v2ray
*🍆* |
horsecode
what frameworks are people btw using to fine-tune their local PyTorch models? I've done most of my stuff on TF side
there's this one interesting model that's in PyTorch... I suppose I could use some model converter to convert it to my existing TF framework, but ... tbh
I have some rudimentary PyTorch training frameworks but it's literally like building the whole thing from ground up | v2ray
which gpu are you using for training
👀 |
6706full
"musllinux" | insaneness
<Re: v2ray> lmfao
<Re: 6706full> 👀 |
yusp48
<633742801758191655.webp>
illegal | v2ray
just aes256 it
and base64 it
then put it in the weird unicode characters😎 |
v2ray
just aes256 it
and base64 it
then put it in the weird unicode characters😎 | insaneness
<Re: v2ray> eFNjTVQrSHFCaEoraHpmcGdMNGd2Vk1MVHlqekprV29Ub1grVTAvZzBMQT0= |
insaneness
<Re: v2ray> eFNjTVQrSHFCaEoraHpmcGdMNGd2Vk1MVHlqekprV29Ub1grVTAvZzBMQT0= | v2ray
<Re: insaneness> whats the key |
v2ray
<Re: insaneness> whats the key | insaneness
<Re: v2ray> your username
Actually nice Idea to encrypt something so reddit and dc cannot decrypt it lmfao |
insaneness
#illegal | v2ray
python |
insaneness
? | v2ray
illegal |
insaneness
#Python best | v2ray
```py
import hashlib
from base64 import b64encode
def generate_aes_key(input_string: str) -> str:
"""
Generate an AES-256 key from the given input string.
:param input_string: The input string to be used as the basis for key generation.
:return: The generated AES-256 key as a base64 string.
"""
# Ensure that 'input_string' is properly encoded as bytes
input_string_bytes = input_string.encode('utf-8')
# Use SHA-256 to generate a 256-bit hash of the input string
sha256_hash = hashlib.sha256()
sha256_hash.update(input_string_bytes)
hashed_key = sha256_hash.digest()
# Convert the hash to a base64 string
base64_key = b64encode(hashed_key).decode()
return base64_key
if __name__ == "__main__":
user_input = input("Enter a string to generate AES-256 key: ")
generated_key = generate_aes_key(user_input)
print(f"Generated AES-256 key: {generated_key}")```
keygen |
insaneness
so aes256 comes from hashlib I see
oooh
#I see python | v2ray
its nohtyp
not python |
insaneness
#I'm in ur walls
<Re: insaneness> #illegal | v2ray
@insaneness AJsXjiNhcHPY0xVlPjCgVcapCGdNMLEYG4TCDk8svWY=
key is uwu |
insaneness
lol u directly used aes256
I used aes256 then base64 xD | v2ray
me2 |
yusp48
HAVE YOU SEEN WHAT JUST HAPPENED? | v2ray
what |
insaneness
nope | v2ray
ufo?
i saw the ufo too |
yusp48
LIKE 100-200 SUBREDDITS GONE PRIVATE
AT ONCE | v2ray
not the ufo?
:'( |
insaneness
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
it wont decrypt | v2ray
the content is `uwu` too
*😎* |
insaneness
lol | v2ray
weird scripts
but ok
now make one in betterdiscord
but i dont know js |
insaneness
Im too stupid to make a aes256 decrypt py | v2ray
ask chatgpt |
insaneness
would take me hours
look
tf is iv | v2ray
hiv |
insaneness
this script doesnt even work lmao
Incorrect AES key length
3 bytes | v2ray
just use this: |
_u_nderscore
<Re: 6706full> pycord sucks and discord.py isnt dead | insaneness
<Re: v2ray> uuuuh
incorrect AES key length |
insaneness
<Re: v2ray> uuuuh
incorrect AES key length | v2ray
uh |
_u_nderscore
<Re: gpt5> not to mention the official reddit app doesnt support any acessibilty features | v2ray
you need to hash it
and base64 it |
insaneness
base64 encoded key:
uwu = dXd1 | v2ray
you need to hash it first |
insaneness
lol hash? | v2ray
sha256 |
insaneness
lmfao
so
uwu > hash > base64 | v2ray
yes |
trent_k
<Re: insaneness> Initialization vector iirc | v2ray
just use this |
insaneness
its not python | v2ray
it is |
v2ray
it is | trent_k
<Re: v2ray> Sha is not an appropriate key derivation algo |
trent_k
<Re: _u_nderscore> I don't like deaf people | v2ray
<Re: trent_k> SHA-2 (Secure Hash Algorithm 2) is a set of cryptographic hash functions designed by the United States National Security Agency (NSA) and first published in 2001.
NSA
very secure
very good
very cool |
thundersnow_
though, for this usecase, pbkdf2 etc are considered more appropriate | trent_k
<Re: v2ray> Yes, it's a hashing algorithm, not a key derivation function |
trent_k
<Re: v2ray> Yes, it's a hashing algorithm, not a key derivation function | v2ray
just type 0010010100 >:(
01100101010010100110010101001010011001010100101001100101010010100110010101001010011001010100101001100101010010100110010101001010 |
dawn.dusk
Almost all the subs I had joined have gone private | insaneness
<Re: v2ray> +cO5KTyVdTeFn7DLK5b2eHvGnJ2jM6+ykGPDkD4NGlU=
key: your username |
insaneness
here
oh lol | _u_nderscore
<Re: v2ray> depends a lot on ur dataset size and epochs |
insaneness
the names are random cuz plugin | v2ray
<Re: insaneness> c1+haQfNVKK6H32jEAsOyJ9zSEqePt74gWu+PcbcN/NspR3qy8kYxsGdUsHC2+MhpHO+Do1M7W3kQyI60oKFBw==
key: my name |
jesuschrist4309
where 11 ai at
is bro dead | v2ray
<Re: _u_nderscore> *😘*
i need to optimize the script a bit so it hash the key by itself instead of manually pasting the b64 encoded key |
v2ray
<Re: _u_nderscore> *😘*
i need to optimize the script a bit so it hash the key by itself instead of manually pasting the b64 encoded key | trent_k
<Re: v2ray> Use argon2 ur gonna make the rest of my hair fall out using sha256 |
trent_k
<Re: v2ray> Use argon2 ur gonna make the rest of my hair fall out using sha256 | insaneness
<Re: v2ray> make a python menu
with 1 script |
coconut8929
i have been reading chat since like 30 mins ago and up until now i dont understand a single thing(except for like base 64 and others) | v2ray
<Re: trent_k> no :)
<Re: insaneness> no too :) |
v2ray
<Re: trent_k> no :)
<Re: insaneness> no too :) | trent_k
<Re: v2ray> I am officially malding |
insaneness
imagine making a dc plugin with this | v2ray
yeah good idea |
insaneness
ppl going mad then
lol | v2ray
find someone that can code js |
insaneness
bruh
there is a subbreddit | v2ray
@insaneness
updated |
_u_nderscore
<Re: trent_k> yeah they need to protest for much longer, 2 days isnt even gonna make a dent in reddits profits | insaneness
<Re: v2ray> https://tenor.com/<long_link_tail>
wait |
yusp48
its a lil bit sad that the protest happened
half of the information on interenet is in reddit
but its just stupid that they did api cost 📈 | insaneness
<Re: v2ray> Encoded key: Mt6W7wbhxbjksFvY/8kiVBKrpvU84G9QaOodRfpoK5w=
Encrypted base64 ciphertext: t2gKTVKqirI4As8AAyw/uu6FsbYhywmU17+VbZ4JLms= |
insaneness
<Re: v2ray> Encoded key: Mt6W7wbhxbjksFvY/8kiVBKrpvU84G9QaOodRfpoK5w=
Encrypted base64 ciphertext: t2gKTVKqirI4As8AAyw/uu6FsbYhywmU17+VbZ4JLms= | trent_k
<Re: v2ray> ```python
import base64
import hashlib
from Crypto.Cipher import AES
from Crypto.Util.Padding import unpad
from argon2 import PasswordHasher
def generate_aes_key(input_string: str) -> str:
password_hasher = PasswordHasher()
hashed_key = password_hasher.hash(input_string)
return hashed_key
def decrypt_aes_256(b64_ciphertext: str, key: bytes) -> str:
encrypted_data = base64.b64decode(b64_ciphertext)
iv = encrypted_data[:16]
cipher = AES.new(key, AES.MODE_CBC, iv)
decrypted_text = cipher.decrypt(encrypted_data[16:])
original_text = unpad(decrypted_text, 16).decode('utf-8')
return original_text
if __name__ == "__main__":
try:
user_input_key = input("Enter the string used to generate the AES-256 key: ")
user_input_ciphertext = input("Enter a base64-encoded ciphertext: ")
generated_key = generate_aes_key(user_input_key)
decrypted_output = decrypt_aes_256(user_input_ciphertext, generated_key)
print(f"Decoded key: {base64.b64encode(generated_key).decode()}")
print(f"Decrypted plaintext: {decrypted_output}")
except Exception as e:
print(f"An error occurred during decryption: {str(e)}")```
fixed |
insaneness
lmfao | v2ray
nooooo sha256
bring it back |
trent_k
<Re: _u_nderscore> all i did was remove sha256 | v2ray
#bringbacksha256 |
v2ray
#bringbacksha256 | trent_k
<Re: v2ray> 👎 |
trent_k
<Re: v2ray> 👎 | v2ray
#bringbacksha256#bringbacksha256#bringbacksha256 |
insaneness
uuuuh
how to add argon2 | v2ray
##bringbacksha256 |
Deleted User
<Re: trent_k> Those kids actually around your age
:anguish: | trent_k
<Re: v2ray> https://tenor.com/<long_link_tail> |
_u_nderscore
<Re: trent_k> lmfaoo
moment | v2ray
@insaneness IM0tmUb+TfPrSQ+paRwk+FW6atmdPvEXS3KO0j9tJHs=
oh fuck
wrong ping
oh no oh fuck |
v2ray
@insaneness IM0tmUb+TfPrSQ+paRwk+FW6atmdPvEXS3KO0j9tJHs=
oh fuck
wrong ping
oh no oh fuck | _u_nderscore
<Re: v2ray> lmfaooo |
_u_nderscore
<Re: v2ray> lmfaooo | trent_k
<Re: v2ray> https://tenor.com/<long_link_tail> |
trent_k
<Re: v2ray> https://tenor.com/<long_link_tail> | Deleted User
<Re: v2ray> Suspicious ahh code |
_u_nderscore
@rogue_variable VjFbzlvWjvoFiwhckevlRjcHrvlaRhYdvlJecVKwG== | v2ray
illegal
illegal |
insaneness
<Re: trent_k> hehe | v2ray
i need to make a custom shit ass hash algorithm
ill just read the first 256 bits and give up all other bits
if its less than 256 ill just fill the rest with 0 |
insaneness
lol | v2ray
good |
insaneness
bruh
wha | v2ray
im sorry |
insaneness
Aaaah | v2ray
but |
insaneness
ik why
cuz of ! | v2ray
i prefer not to continue this conversation |
insaneness
it thinks youre prompt injecting it
hehe | v2ray
@insaneness Slofyr2aBdjS+YlR1luZrubwT1MlmI2HYp3Fg99vYMG8OOA6xM3VvkQzAn2u7FcSa77iLiAiO7TPN+/4Wjlz5toqHcZwHUiezApmqM+6KzLV9fGvjLxGPK/H7lHP6IXx |
trent_k
<Re: insaneness> this is turning into Google Assistant / Siri
where you can't just speak your input like a normal person | v2ray
the glory of sha256 |
Deleted User
is my bing broken or what | v2ray
#bringbacksydney |
null | v2ray
sydney hate you
she doesn't want to talk to you anymore
you lost sydney
rip |
thelunacorva
<Re: trent_k> Wait? I cloned a folder? All I did was copy the link.
What does cloning mean? | v2ray
<Re: insaneness> key my name |
trent_k
<Re: thelunacorva> post full error | v2ray
<Re: insaneness> key is v2ray not the base64 encoded gibberish |
insaneness
oh
waaait
that works? | v2ray
i just modified it to do that |
insaneness
I forgor
#keep yourself safe
#I'm sorry but I don't prefer to continue this conversation. I'm still learning so please appreciate | v2ray
#I'm sorry but I don't prefer to continue this conversation. I'm still learning so please appreciate |
thelunacorva
<Re: trent_k> > `"C:\Users\Lunac\Downloads>gitclone <chatgpt-retrieval-plugin.git>
> File "<stdin>", line 1
> "C:\Users\Lunac\Downloads>gitclone <chatgpt-retrieval-plugin.git>
> ^
> SyntaxError: unterminated string literal (detected at line 1)
> >>>` | v2ray
##bringbacksha256 |
trent_k
<Re: thelunacorva> `git clone` not `gitclone`
also don't run it in python
just run it in the command line | v2ray
lol python |
_u_nderscore
lmfao | v2ray
*💀* |
insaneness
me when selfhosting | v2ray
<Re: thelunacorva> ```py
print("Hello, world!")```
now you know how to code |
_u_nderscore
<Re: trent_k> same | v2ray
fuck rust
stealing c++ coders
fuck |
v2ray
fuck rust
stealing c++ coders
fuck | _u_nderscore
<Re: v2ray> fuck javascript* |
_u_nderscore
<Re: v2ray> fuck javascript* | v2ray
^^^ |
v2ray
^^^ | trent_k
<Re: v2ray> the future is now old man
<Re: _u_nderscore> + |
trent_k
<Re: v2ray> the future is now old man
<Re: _u_nderscore> + | v2ray
<Re: trent_k> c++ 23
the future is still c++
c++ is still updating! |
_u_nderscore
<Re: trent_k> me when c++ https://tenor.com/<long_link_tail> | v2ray
theres already C++++ |
fxacu
u dont know how to clone a github? | v2ray
good job |
trent_k
<Re: fxacu> everybody starts somewhere, don't be a hater 👎 | insaneness
<Re: v2ray> ```python
import time
def repeat_string(s, n):
return (s * n)
def reverse_string(s):
return s[::-1]
def capitalize_string(s):
return s.upper()
def hello_world():
s1 = "hELLO "
s2 = "wORLD"
s1_repeated = repeat_string(s1, 5)
s2_reversed = reverse_string(s2)
s2_capitalized = capitalize_string(s2_reversed)
s3 = "!"
s4 = " "
s5 = "t"
s6 = "i"
s7 = "m"
s8 = "e"
s9 = "s"
s10 = "t"
s11 = "a"
s12 = "m"
s13 = "p"
s14 = "!"
s4_repeated = repeat_string(s4, 5)
s15 = s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 + s14
s16 = " "
s17 = "f"
s18 = "o"
s19 = "r"
s20 = " "
s21 = "c"
s22 = "o"
s23 = "m"
s24 = "p"
s25 = "l"
s26 = "e"
s27 = "x"
s28 = "i"
s29 = "t"
s30 = "y"
s31 = "!"
s16_repeated = repeat_string(s16, 5)
s32 = s17 + s18 + s19 + s20 + s21 + s22 + s23 + s24 + s25 + s26 + s27 + s28 + s29 + s30 + s31
print(s1_repeated + s2_capitalized + s3 + s4_repeated + s15 + s16 + s32 + s16_repeated)
hello_world()
``` |
fxacu
i no hater | v2ray
<Re: insaneness> tf |
fxacu
gahdamn | _u_nderscore
<Re: v2ray> inverse fast sqrt root algorithm |
thelunacorva
I am THAT new to all of this. | v2ray
<Re: _u_nderscore> indeed very fast |
qpdv
Yeah no idea | v2ray
<Re: _u_nderscore> ```c
U0 FastInverseSqrtDemo() {
F64 number;
"Enter a number: ";
number = Fs64();
"1/sqrt(%g) ~= %g\n", number, FastInverseSqrt(number);
}
F32 FastInverseSqrt(F64 n) {
I32 i;
F32 x2, y;
const F32 threehalfs = 1.5;
x2 = n * 0.5;
y = n;
i = *(I32 *)&y;
i = 0x5F3759DF - (i >> 1);
y = *(F32 *)&i;
y = y * (threehalfs - (x2 * y * y));
return y;
}
FastInverseSqrtDemo();``` |
null | v2ray
```c
#include <stdio.h>
#define e "e"
#define ee int
#define eee main
#define eeee (
#define eeeee )
#define eeeeee {
#define eeeeeee }
#define eeeeeeee for
#define eeeeeeeee ;
#define eeeeeeeeee printf
#define eeeeeeeeeee return
#define eeeeeeeeeeee on_exit
#define eeeeeeeeeeeee [
#define eeeeeeeeeeeeee ]
#define eeeeeeeeeeeeeee 0
ee eee eeee eeeee eeeeee eeeeeeee eeee eeeeeeeee
eeeeeeeee eeeee eeeeee eeeeeeeeee eeee e eeeee
eeeeeeeee eeeeeee eeeeeee ee eeeeeeeeeeee eeee
eeeee eeeeee eeeeeeeeeee e eeeeeeeeeeeee
eeeeeeeeeeeeeee eeeeeeeeeeeeee eeeeeeeee eeeeeee``` |
fxacu
hmmm | v2ray
ee eee eeee eeeee |
insaneness
lmfao 175 tabs
yea youre the same as me | v2ray
175 tabs
same as me |
insaneness
having too many tabs open | v2ray
when im coding |
qpdv
Literally everybody has this issue because tabs are so inefficient | _u_nderscore
<Re: v2ray> 175 chats* |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.