Skip to main content
12 events
when toggle format what by license comment
Aug 22, 2019 at 0:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Apr 23, 2019 at 23:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Mar 24, 2019 at 22:22 answer added Squeamish Ossifrage timeline score: 1
Nov 30, 2017 at 3:10 comment added forest That mmap() behavior is guaranteed by POSIX. It will be reliable on any compliant system.
May 28, 2015 at 17:21 history tweeted twitter.com/#!/StackSecurity/status/603974380989915136
May 28, 2015 at 8:38 comment added Maarten Bodewes Android has been derived from Linux and iOS from BSD if I'm not mistaken. I don't see why mmap should have issues but it never hurts to test. Of course you would need native code to use mmap. Java has also java.nio but I'm not sure you could use that for this use case.
May 28, 2015 at 8:01 comment added Quxflux @MaartenBodewes Thanks for your input. I'm trying to find another way without splitting up the plain data in several encrypted blocks. Celada's mmap() approach seems promising, since it is transparent to the calling functions. However I'm not sure how reliable this function is on Android / iOS devices.
May 27, 2015 at 17:30 comment added Celada You could always mmap() files and use the NaCL functions as is.
May 26, 2015 at 2:29 comment added Maarten Bodewes The latter should be preferred. You should not process unauthenticated data. The only place where you should decrypt huge packages of data is where you 1) don't process the data immediately and 2) you cannot store the data in RAM. A good example would be file encryption/decryption. Even then it may pay off to split the plaintext into blocks or fragments.
May 25, 2015 at 15:02 history edited Quxflux CC BY-SA 3.0
deleted 1 character in body
May 25, 2015 at 14:57 review First posts
May 25, 2015 at 15:54
May 25, 2015 at 14:56 history asked Quxflux CC BY-SA 3.0