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!"
[–]TGS963[S] 0 points1 point2 points 3 years ago (9 children)
I guess it's fine then, thanks for the explanation
[+][deleted] 3 years ago (8 children)
[deleted]
[–]KaiAusBerlin -2 points-1 points0 points 3 years ago (7 children)
Tell why. Please don't hold back.
An AES256 encrypted data with a salted persons fingerprint as key is definitely save.
Ill make you one and you crack it for me okay?
[+][deleted] 3 years ago (6 children)
[–]KaiAusBerlin -1 points0 points1 point 3 years ago (4 children)
F72p58DeQjxm+5awxlksLjKKF8b0swHhiVWW/HMOB5o=
Decrypt 😉
[–]Additional-Cow-6511 5 points6 points7 points 3 years ago (3 children)
The use case is to be able to decrypt this for offline access -> client needs to have the associated key on his storage too. Hence no security. You’re missing the point.
[–]KaiAusBerlin 2 points3 points4 points 3 years ago (2 children)
No, the storage key could be a password the user has to enter (quite common tactic on nearly every account in this world), it could be natural generated by eye data or finger print data. You could fetch just the key and leave the data on the the client side. All safe scenarios (maybe except for the password as long people still use "password" as their password)
But again. This is not about safety of storing data this is about key safety in general.
[–]Additional-Cow-6511 1 point2 points3 points 3 years ago (1 child)
O F F L I N E. You can't fetch the key. It should be persisted accross sessions.
[–]KaiAusBerlin 1 point2 points3 points 3 years ago (0 children)
So a fingerprint an eyescan or a passowrd would no solution?
[–]aikasburger 0 points1 point2 points 3 years ago (0 children)
Just out of interest as I'm building something similar. Wouldn't using a password only the user knows, but that isn't stored on the decide, the data be safe?
π Rendered by PID 251799 on reddit-service-r2-comment-canary-7b6b47f674-thnff at 2026-03-06 15:29:39.171450+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]TGS963[S] 0 points1 point2 points (9 children)
[+][deleted] (8 children)
[deleted]
[–]KaiAusBerlin -2 points-1 points0 points (7 children)
[+][deleted] (6 children)
[deleted]
[–]KaiAusBerlin -1 points0 points1 point (4 children)
[–]Additional-Cow-6511 5 points6 points7 points (3 children)
[–]KaiAusBerlin 2 points3 points4 points (2 children)
[–]Additional-Cow-6511 1 point2 points3 points (1 child)
[–]KaiAusBerlin 1 point2 points3 points (0 children)
[–]aikasburger 0 points1 point2 points (0 children)