packages feed

secure-memory

Securely allocated and deallocated memory.

view on Hackage

Securely allocated and deallocated memory. When handling sensitive data in your program, you want to be extra careful and make sure that it is gone as soon as you are done working with it. In a garbage-collected language like Haskell this is not so easy, since the garbage collector can move your bytes around and create copies of it. In addition to that, even if the memory gets eventually deallocated, it is not guaranteed that the data will actually be zeroed-out or overriden. To make matters even worse, if the operating system runs out of RAM while your sensitive data remains in the memory, the page that contains your data can get swapped out and, thus, end up on the disk, which you, of course, absolutely want to never happen. This library provides a (relatively) easy to use interface for working with data allocated in a secure memory location that is guaranteed to never end up on the disk and that will be zeroed-out as soon as you finish using it.
versionuploadeduploaderchanges
0.0.0.22021-11-22 17:47 UTCkirelagin+17/−15 lines, 2 filesdep ~basedep ~memoryPVP ok
0.0.0.12021-07-30 03:02 UTCkirelagin+1262/−0 lines, 14 filesdep +HUnitdep +asyncdep +base

Dependencies of secure-memory-0.0.0.2

HUnit >=0 1.6.1.0 → 1.6.2.0
2021-01-19 18:27 UTC1.6.2.0+48/−42 lines, 5 filesdep ~call-stackPVP: major bump suggested
2020-10-31 12:09 UTC1.6.1.0+35/−21 lines, 4 filesPVP ok
2017-03-20 01:42 UTC1.6.0.0+9/−5 lines, 4 filesdep ~basePVP ok
2016-10-16 03:35 UTC1.5.0.0+47/−27 lines, 5 filesPVP ok
2016-10-07 03:13 UTC1.4.0.0+761/−778 lines, 12 filesdep +call-stackPVP ok

showing 5 of 22 versions

async >=0 2.2.5 → 2.2.6
2026-01-07 11:26 UTC2.2.6+503/−61 lines, 7 filesdep +unordered-containersPVP: major bump suggested
2023-11-21 08:08 UTC2.2.5+1025/−797 lines, 5 filesdep ~basedep ~hashablePVP: major bump suggested
2021-10-04 12:00 UTC2.2.4+26/−8 lines, 3 filesdep ~basedep ~hashablePVP ok
2021-02-16 10:05 UTC2.2.3+160/−78 lines, 3 filesdep ~basePVP ok
2019-06-06 08:27 UTC2.2.2+48/−15 lines, 4 filesdep ~basedep ~hashablePVP: major bump suggested

showing 5 of 23 versions

base >=4.10 && <4.16 4.15.1.0 → 4.22.1.0 newer than bounds
2026-12-01 12:38 UTC4.22.1.0 newer than bounds+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0 newer than bounds+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0 newer than bounds+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0 newer than bounds+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0 newer than bounds+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

bytestring >=0.9 && <0.11 0.10.12.1 → 0.12.2.0 newer than bounds
2024-12-06 21:41 UTC0.12.2.0 newer than bounds+538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok
2024-02-16 03:27 UTC0.12.1.0 newer than bounds+3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested
2023-08-16 01:53 UTC0.12.0.2 newer than bounds+16/−2 lines, 3 files
2023-08-05 00:03 UTC0.12.0.1 newer than bounds+47/−9 lines, 3 files
2023-07-07 01:45 UTC0.12.0.0 newer than bounds+1459/−520 lines, 21 filesdep +data-array-bytePVP ok

showing 5 of 49 versions

hedgehog >=0 1.6 → 1.7
2025-09-22 20:47 UTC1.7+50/−26 lines, 5 filesdep ~lifted-asyncdep ~template-haskelldep ~timePVP ok
2025-09-08 12:45 UTC1.6+87/−63 lines, 4 filesPVP ok
2024-07-24 13:51 UTC1.5+255/−78 lines, 5 filesdep ~containersdep ~randomdep ~template-haskellPVP ok
2023-08-06 21:48 UTC1.4+138/−64 lines, 7 filesdep ~ansi-terminaldep ~barbiesdep ~bytestringPVP ok
2023-06-22 11:22 UTC1.3+152/−29 lines, 11 filesdep +safe-exceptionsdep ~ansi-terminalPVP ok

showing 5 of 28 versions

libsodium >=1.0.18.2 && <2 1.0.18.2 → 1.0.18.3
2023-03-06 16:51 UTC1.0.18.3+2326/−1750 lines, 10 files
2021-07-28 09:07 UTC1.0.18.2+11/−1 lines, 3 files
2020-05-18 13:59 UTC1.0.18.1 outside bounds+152/−13 lines, 4 filesPVP: minor bump suggested
2020-05-08 12:59 UTC1.0.18.0 outside bounds+1672/−0 lines, 7 filesdep +basedep +hedgehogdep +libsodium
memory >=0.14.15 && <0.17 0.16.0 → 0.18.0 newer than bounds
2022-09-05 01:54 UTC0.18.0 newer than bounds+14/−5 lines, 5 filesdep ~basedep ~ghc-primPVP ok
2022-03-10 01:00 UTC0.17.0 newer than bounds+157/−162 lines, 10 filesdep ~basedep ~ghc-primPVP ok
2021-05-08 14:19 UTC0.16.0+26/−112 lines, 10 filesdep ~basedep ~ghc-primPVP ok
2019-09-05 04:24 UTC0.15.0+14/−7 lines, 3 filesdep ~basedep ~basementPVP ok
2018-09-30 16:18 UTC0.14.18+35/−10 lines, 5 filesPVP ok

showing 5 of 36 versions

reflection >=1.2.0.1 && <2.2 2.1.8 → 2.1.9
2024-12-04 12:05 UTC2.1.9+53/−163 lines, 9 filesdep −semigroupsdep −taggeddep ~basedep ~containersPVP ok
2024-05-04 15:32 UTC2.1.8+99/−44 lines, 5 filesPVP: major bump suggested
2023-02-28 12:10 UTC2.1.7+114/−209 lines, 11 filesdep ~containersPVP: major bump suggested
2020-05-16 10:47 UTC2.1.6+145/−69 lines, 6 filesdep +containersdep ~semigroupsPVP ok
2019-08-27 13:38 UTC2.1.5+285/−170 lines, 11 filesdep +QuickCheckdep +hspecdep +reflectionPVP: major bump suggested

showing 5 of 52 versions

safe-exceptions >=0.1 && <0.2 0.1.7.3 → 0.1.7.4
2023-06-26 17:37 UTC0.1.7.4+143/−65 lines, 3 filesdep ~deepseqPVP: major bump suggested
2022-05-22 08:14 UTC0.1.7.3+6/−2 lines, 2 filesdep ~transformersPVP ok
2021-07-09 06:46 UTC0.1.7.2+103/−47 lines, 5 filesdep ~basedep ~exceptionsdep ~transformersPVP: major bump suggested
2020-08-23 13:52 UTC0.1.7.1+19/−6 lines, 5 filesPVP: major bump suggested
2018-01-18 15:32 UTC0.1.7.0+31/−18 lines, 3 filesdep ~basedep ~exceptionsPVP: major bump suggested

showing 5 of 12 versions

tasty >=0 1.5.4 → 1.5.5
2026-10-20 23:13 UTC1.5.5+53/−26 lines, 7 filesdep +terminal-sizePVP ok
2026-03-25 20:04 UTC1.5.4+332/−166 lines, 22 filesdep −semigroupsPVP ok
2025-01-05 19:52 UTC1.5.3+36/−11 lines, 3 filesdep ~containersdep ~optparse-applicativePVP: major bump suggested
2024-11-03 00:34 UTC1.5.2+22/−5 lines, 4 filesdep ~basePVP ok
2024-06-22 10:14 UTC1.5.1+131/−63 lines, 10 filesdep ~basePVP: major bump suggested

showing 5 of 76 versions

tasty-hedgehog >=0 1.4.0.1 → 1.4.0.2
2023-08-07 06:43 UTC1.4.0.2+10/−4 lines, 3 filesdep ~basedep ~hedgehogdep ~tastyPVP ok
2023-03-15 09:39 UTC1.4.0.1+11/−6 lines, 3 filesdep ~basedep ~hedgehogPVP ok
2022-10-24 17:53 UTC1.4.0.0+23/−15 lines, 3 filesdep ~hedgehogPVP ok
2022-10-05 08:58 UTC1.3.1.0+18/−11 lines, 3 filesnew-uploaderPVP ok
2022-08-23 06:50 UTC1.3.0.0+13/−10 lines, 4 filesdep ~hedgehogPVP ok

showing 5 of 15 versions

tasty-hunit >=0 0.10.1 → 0.10.2
2024-06-22 10:14 UTC0.10.2+15/−7 lines, 4 filesPVP ok
2023-09-10 00:12 UTC0.10.1+30/−52 lines, 5 filesdep ~basedep ~call-stackdep ~tastynew-uploaderPVP ok
2020-12-18 09:42 UTC0.10.0.3+55/−10 lines, 4 filesdep ~basePVP ok
2019-05-15 05:50 UTC0.10.0.2+38/−8 lines, 3 filesdep ~tastyPVP: major bump suggested
2017-12-01 19:24 UTC0.10.0.1+51/−29 lines, 4 filesPVP: major bump suggested

showing 5 of 15 versions

text >=0.7 && <1.3 1.2.5.0 → 2.1.5 newer than bounds
2026-11-27 23:30 UTC2.1.5 newer than bounds+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4 newer than bounds+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3 newer than bounds+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2 newer than bounds+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1 newer than bounds+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

unix >=2.0 && <2.8 2.7.3 → 2.8.8.0 newer than bounds
2025-09-23 08:10 UTC2.8.8.0 newer than bounds+161/−207 lines, 6 filesdep ~basedep ~timePVP ok
2025-05-10 14:12 UTC2.8.7.0 newer than bounds+8400/−7941 lines, 12 filesdep ~basedep ~timePVP ok
2024-11-19 15:41 UTC2.8.6.0 newer than bounds+1133/−333 lines, 14 filesdep ~basedep ~timePVP: major bump suggested
2024-04-08 19:21 UTC2.8.5.1 newer than bounds+7507/−6738 lines, 5 filesdep ~basedep ~filepathdep ~os-stringPVP: major bump suggested
2023-12-01 00:53 UTC2.8.5.0 newer than bounds+55/−9 lines, 7 filesdep +os-stringdep ~filepathdep ~timePVP ok

showing 5 of 34 versions

Reverse dependencies

no known reverse dependencies