aussiematt@lemm.eetoProgrammer Humor@lemmy.ml•I told ChatGPT to code hello world in rust and comment in pirate slang 😂English
0·
1 year agoWhen I compiled that program, the executable was around 10MB. I wrote the same program in C, and the executable was 15kB. That’s about 3 orders of magnitude difference. Is Rust really 1000 times better than C? :-)
The TOTP feature in Bitwarden works, if you paste in the whole
otpauth://
URI to Bitwarden’s Authenticator Key (TOTP) field. The URL specifies that the hashing algorithm should be SHA256. If you just import thesecret=
value into Authy, it probably defaults to using the SHA-1 algorithm, which may be why the codes generated by Authy don’t work.SHA256 is more secure than SHA-1, which I guess is why Lemmy has chosen to use it for its 2FA feature.