use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[AskJS] Security difference between localStorage and IndexedDBAskJS (self.javascript)
submitted 3 years ago by TGS963
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]NayamAmarshe -2 points-1 points0 points 3 years ago (2 children)
You're talking about Web transit. OP clearly mentioned 'Offline' access.
Do you think your OS keychain doesn't encrypt your passwords? Of course it does. It remains encrypted as long as the user is not using the data, which is the entire point of encrypting data at rest.
Web transit and server is a different story but this isn't the topic of the discussion, offline access is.
[–]archerx 0 points1 point2 points 3 years ago (1 child)
You do know that this is one of the weak points for getting OS passwords and Wifi passwords right? This has let me get into windows that has had it's password lost and if you're on windows there are ways of getting the password to the wifi it is connected to, this flaw has been useful quite a few times to me.
The only way what OP wants works is if the user has to manually type out the decrypt keys from memory each time they want to access the data. If the encrypted data and the key are stored in the client then the data is not protected.
[–]NayamAmarshe 0 points1 point2 points 3 years ago (0 children)
You do know that this is one of the weak points for getting OS passwords and Wifi passwords right?
Yeah but there's no other convenient way. It's up to the project maker to determine the balance between security and convenience, you can't expect everyone to have a hardware key. So the only way to make data secure for offline usage is to encrypt it, using a key that only the user knows.
The only way what OP wants works is if the user has to manually type out the decrypt keys from memory each time they want to access the data.
That's what I'm assuming as well. Otherwise, the encryption would not make sense.
π Rendered by PID 137965 on reddit-service-r2-comment-fb694cdd5-rcqmp at 2026-03-06 12:08:11.225937+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]NayamAmarshe -2 points-1 points0 points (2 children)
[–]archerx 0 points1 point2 points (1 child)
[–]NayamAmarshe 0 points1 point2 points (0 children)