span-lite
Obfuscate
span-lite | Obfuscate | |
---|---|---|
2 | 1 | |
499 | 1,104 | |
0.0% | 2.9% | |
5.3 | 4.9 | |
8 months ago | 7 months ago | |
C++ | C++ | |
gtkbook License | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
span-lite
-
I love building a startup in Rust. I wouldn't pick it again.
Another solution: use std::span (or some alternative implementations if the codebase doesn't use C++20).
-
Passing a std:: array as a function parameter
For span only span-lite should be suffice https://github.com/martinmoene/span-lite
Obfuscate
-
How do I prevent abuse to my app?
if you hardcode the api key into your app, the apk can always get decompiled (apk -> dex -> dex2jar -> jar -> java decompiler). I personally hardcode sensitive api keys in C code, as #define constants. I use this class to obfiscate the C string constants. then I expose functions returning the api keys from C to java via JNI. I also use a mechanism to verify the apk signature, so that the C methods will only be called from the correct application (without this, others could take the .so library, include in their project, and just call the c functions from java / kotlin side, to get the api key). There was an article about this online, but i cannot find it right now.
What are some alternatives?
expected-lite - expected lite - Expected objects in C++11 and later in a single-file header-only library
llvm-string-obfuscator - LLVM String Obfuscator
GSL - Guidelines Support Library
inline_syscall - Inline syscalls made easy for windows on clang
BackportCpp - Library of backported modern C++ types to work with C++11
filesystem - An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.
bit_set - Rebooting the std::bitset franchise
kfr - Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
serializer - A single header standard C++ serialization framework.
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
ring-span-lite - ring-span lite - A C++yy-like ring_span type for C++98, C++11 and later in a single-file header-only library
Asteroids - DOS 16bit CGA mode 6 Asteroids