MemSafeCrypto
github.com · Open source · Quiet
Java crypto primitives refactored to use DirectByteBuffer
- Security & privacy
- Open source
- Java
- Day-7 check
- Day-30 check
- java
- cryptography
- bouncycastle
- bytebuffer
- salsa20
- xsalsa20
- xsalsa20poly1305
- argon2
- blake2b
- poly1305
- Stars
- 33
- Forks
- 1
- Open issues
- 0
- Last commit
- Found
- 4 years ago
GitHub figures as of . They are context, not a ranking.
MemSafeCrypto is a Java library that contains a subset of BouncyCastle cryptography primitives, refactored to operate on DirectByteBuffer memory. It suits Java developers who need these primitives and want buffers outside the ordinary heap.
Positioned as an alternative to BouncyCastle.
Repository description on GitHub: “A subset of BouncyCastle crypto primitives, refactored to use DirectByteBuffer.”
What it does
- Subset of BouncyCastle primitives on DirectByteBuffer memory
- Includes Argon2, Blake2b, Poly1305, Salsa20 and SHA-256
- No runtime dependencies; BouncyCastle is used only for tests
Good for
- Derive keys with Argon2 using off-heap buffers
- Encrypt data with XSalsa20 and Poly1305 in a Java application
Suits: Java developers handling sensitive data in memory.
Worth knowing: Based on BouncyCastle 1.69 code, so it covers only the listed primitives
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw MemSafeCrypto on , when java-man posted it to Show HN. GitHub listed no published releases for andy-goryachev/MemSafeCrypto when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 49 points, 15 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 49 points, 15 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: andy-goryachev/MemSafeCrypto
- Found: java-man posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was MemSafeCrypto released?
- No dated release record is available. Kip found it on Show HN on 11 Feb 2022.
- Is MemSafeCrypto open source?
- Its source is public on GitHub at andy-goryachev/MemSafeCrypto under the Apache-2.0 licence.
- What does MemSafeCrypto run on?
- Library.
- Is MemSafeCrypto free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is MemSafeCrypto still maintained?
- It has had no commit or release for over a year as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | andy-goryachev/MemSafeCrypto REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-30305379. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.