cryptolens / cryptolens-cpp Goto Github PK
View Code? Open in Web Editor NEWC++ Interface for Cryptolens Web API
Home Page: https://cryptolens.io/support-cycle/
License: Other
C++ Interface for Cryptolens Web API
Home Page: https://cryptolens.io/support-cycle/
License: Other
I'm trying to setup Cryptolens on a C++ Static Lib.
I build cryptolens lib with MT and MTd for x86.
I'm importing on the library like this:
#ifdef _DEBUG
#pragma comment(lib, "Cryptolens_Debug.lib")
#else
#pragma comment(lib, "Cryptolens_Release.lib")
#endif
Also tried to import on the main app on the linker, nothing seems to be working.
This are the errors (if I omit the lib import from above I get many more errors):
The example applications work with the lib I compiled.
Documentation in .NET API: https://api.serialkeymanager.com/html/M_SKM_V3_ExtensionMethods_HasValidSignature.htm
What if cracker reverse-engineers the app and shortcut to code of license check?
Hi all,
just started integrating cryptolens into my desktop application. On activate_floating
, the api returns:
"{\"result\":1,\"message\":\"No active subscription found. Please contact support.\"}"
Yet, all I get through the C++ API is a cryptolens::errors::Main::UNKNOWN_SERVER_REPLY
. Ideally, there would be a way to retrieve the "message"
with the error during activation, or this error could be handled more specifically.
Thanks and best,
Jonathan
while building cryptolense in one of our applications, we hit the maximal path length "path too long" on windows.
Some includes are unnecessary long and are causing this problem:
example: cryptolens\src\basic_SKM.cpp
154 characters:
cryptolens\include\cryptolens/imports/ArduinoJson5/../../../../third_party/ArduinoJson5/ArduinoJson/StringTraits/../TypeTraits/../Polyfills/alias_cast.hpp
There is a potential memory leak on in https://github.com/Cryptolens/cryptolens-cpp/blob/master/src/MachineCodeComputer_COM.cpp#L362
size_t SHA1(basic_Error & e, std::wstring const& data, std::string & append)
{
.
.
.
if (!(pbHash = (BYTE*)malloc(dwHashLen)))
.
.
.
}
free(pbHash)
appears to be missing.
It should be possible to insert public keys in the following format, without having to split the parts.
<RSAKeyValue><Modulus>.....</Modulus><Exponent>.....</Exponent></RSAKeyValue>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.